>It is my understanding that an application has 32k of heap to use.  I
>believe that any allocations by system services for the app use this heap.
>Is this correct?

This is correct. Palm OS 1 limited heaps to 64K; OS 3.0 allows upto 96K
dynamic heap, but extra services may take more (e.g., using TCP/IP stack
takes up quite a bit of dynamic heap space).

>Also, if I sublaunch an application, does it get its own heap, or does its
>allocations come from my heap, too.

Nope, one heap for the operating system and all running applications.

>What about the stack of a sublaunched application - does that also come
>from my stack space?

Yes.

Regards,
Ben Flaumenhaft


Reply via email to