At 07:55 AM 5/27/2004, you wrote:

IS there again a upper limit for memory allocation using MemGluePtrNew().

I am allocation a memory of 3MB using MemGluePtrNew(). But it returns NULL. why so ??????????

The upper limit is the size of the largest chunk of free space in the dynamic heap. This heap ranges from 32K to 8MB, depending on the device you are on, but for most modern devices, 512K is a good minimum size.



-- 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/

Reply via email to