The application lives in the storage heap. It allocates two chunks of memory on the dynamic heap at startup -- a chunk for all the global variables, and a chunk for the program stack. Those are live and unmoving for the life of the program, so making these allocations too large can limit your apps abilities to allocate memory while its running.I feel like I'm getting myself deeper and deeper with all the claims I'm making, but I'll take my chances (*deep breath*).... Since the whole app reside in the dynamic heap (globals apart) it would mean that one would have more room more for a larger app (although in practice it's probably insignificant). If I'm not mistaken, the app's stack is also in this heap (which of course includes the function calls), so this would also leave more room for the stack.
--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
