[ECOS] dinamic memorry allocation
Gary Thomas
gthomas@redhat.com
Sat Jun 24 05:38:00 GMT 2000
On 24-Jun-00 Marco Monguzzi wrote:
> Hello all.
>
> Dealing with dynamic memory allocation, I noticed that the space to support
> the LIBC
> calls like malloc, calloc etc, is allocated in the .data segment. This means
> the space
> required to store the system/apps in EPROM is proportional to
> CYGPKG_NET_MEM_USAGE.
> Is it correct or there is a way to avoid that?
>
The memory used for malloc() and friends is in BSS, not DATA. This is not
held in ROM, but only exists in RAM when the application is running.
More information about the Ecos-discuss
mailing list