This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Malloc failure in ecos-1.3.1
On Thu, Jul 25, 2002 at 05:37:01PM +0530, Lokesh Babu K. wrote:
>
> Hi all
>
> In my application i try to allocate a memory chunk and then i free that
> memory.This process continues and after a certain point, Malloc fails. Is
> there any way out to configure the System Heap Memory in ecos-1.3.1.
Is it failing because you have a leek, or is the heap just too
small. Making the heap bigger when you have a leek will only make it
run longer, but it will still fail.
There is a CDL option in 1.3.1 to control the heap size. I stopped
using the outdated 1.3.1 over 2 years ago, so i forget the name of the
option, but its something like CYGVAL_MALLOC_HEAP_SIZE.
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss