I want to Call MemHeapCompact after call MemHeapID right now. Do MemHeapCompact spend too much time? Thanks.
Regards, Miken "Laurens" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > Miken wrote: > > > if dynamicMemory = 60K,Can I call MemPtrNew(60*1024)? > > How do palmos handle fragment? > > Well, the third parameter to MemHeapFreeBytes is a pointer for > returning > the maximum free chunk size. This is the maximum amount that you can > allocate with MemPtrNew/MemGluePtrNew/MemHandleNew. If there's not > enough space for your request, you can try calling MemHeapCompact to > free up more space. > > > Regards > -Laurens > _____________________________ http://www.msale.net/bbs http://sourceforge.net/projects/mscreen/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
