Heap Size

peter.o.mueller at gmx.de peter.o.mueller at gmx.de
Wed Sep 12 14:51:23 UTC 2001


Hi all,

in my linker script I use to following settings for heap and stack:

...
_HeapSize : 0x0;
_StackSize: 10000;
...

As far as I remember rtems calculates what is left for heap from total mem -
stack. So the zero is ok. But how can I tune the stack figure. Is the figure
specified here the total amount of stack for all tasks?
How can I estimate the StackSize? Is it like:
number of tasks * stack_per_task + what_rtems_needs?

Peter

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net




More information about the users mailing list