[ECOS] Memory debug feature bug?

Mike Jastrebtsoff jam2000@pisem.net
Wed Sep 15 07:32:00 GMT 2004


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



More information about the Ecos-discuss mailing list