This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Memory debug feature bug?


Hello, All.

I use two 512Kb memory banks.
I've defined 2 heaps: 1st at the end of the first memory bank(after
program) and the second at the last bank.

When i switched "Breakpoint site when running out of memory" option on
i often hit cyg_memalloc_alloc_fail procedure,
e.g. eCos fails to realloc memory.

It happens while using Doug Lea's malloc and variable malloc packages.

The strangerest thing is if i switch off  "Breakpoint site when
running out of memory" option everything is running good.(or seems)

Where is the issue?

-- 
Regards,
 Mike                          


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]