At 08:45 AM 11/9/2005, you wrote:
Paul Nevai wrote:
> Out of curiosity: has any of you ever used MemHeapCompact()? If so, what's
> the name of the program? Thanks, PaulN
>
i did, but only because i wondered if it will make any difference, and i never
noticed any... (it is called automatically when you want to alloc memory,
so it
seems that it doesn't make much sense to call it yourself)
MemHeapCompact shouldn't be called on recent devices -- it has a timer that
won't let it run for more than a second, and that's not enough time to
compact a heap on devices with NVFS or tens of megabytes of memory.
-- Ben Combee, Senior Software Engineer, Palm, Inc.
"Combee on Palm OS" weblog: http://palmos.combee.net/
Developer Forum Archives: http://news.palmos.com/read/all_forums/
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/