On Thu, 4 Mar 1999, Christopher Hunt wrote:

> I've just noticed something re. ptr allocation and I'd like to get it
> confirmed.
> 
> When I run an app I see that a ptr created using the new operator (which
> calls MemPtrNew?) allocates a chunk within the dynamic heap. Now, I was
> always under the impression that I only have about 12K dynamic heap
> available under PalmOS 2k as per the Palm documentation; but this isn't
> true. I've actually got the free space of the dynamic heap available -
> about 30K in normal situations. Please correct me where I'm wrong but it
> seems that the 12K figure comes from the allocation for static
> application data and not MemPtrNew allocations.

Static application data (also called global data) is allocated on the
dynamic heap. But the dynamic heap has considerably more room if, among
other things, TCP/IP isn't running. 

-- 
Kenneth Albanowski ([EMAIL PROTECTED], CIS: 70705,126)


Reply via email to