I'm calling MemPtrGlueNew to allocate a heap of 620K or so. My device lists 3 heaps at runtime:

0: 1,213,004 bytes
1: 15,394,408 bytes
2: 40 bytes

When I call MemPtrGlueNew it allocates from heap id 0 which is ok. But can I tell OS5 that I want it to use heap 1 which obviously has more memory? I ran into the problem where the first allocation in 0 is fine, but a second allocation failed. If I could switch to heap 1 that would be better. Is that possible or does MemPtrGlueNew only use heap 0?

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to