Is there a limit to the number of times an application can call MemPtrNew? I have a program that always fails to allocate memory after 2779 objects (and their child objects) have been created regardless of how much memory I assign in POSE. Is there a limit in the OS memory manager as to how many outstanding memory allocations you can have?
There's a limit on the size of the dynamic heap that varies depending on the total memory of the device and the settings in the OS ROM you're using. Since you're using POSE, the largest dynamic heap supported on Palm OS 4.1 was 256K, so it's likely you're hitting that limitation.
-- Ben Combee, DTS technical lead, PalmSource, Inc. Read "Combee on Palm OS" at http://palmos.combee.net/
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
