At 5:17 PM +0100 28-02-00, Steve wrote:
>I have an application which, when I run Gremlins, if I insert a
>MemHeapFreeBytes I can invoke (by temporarily stopping Gremlins and
>choosing an appropriate menu item), indicates that in a million Gremlins
>the number of free bytes on the heap has diminished by 332 bytes.
This is probably the clipboard. Gremlins has perhaps done a 'copy'
operation with a large string. You can get rid of this by selecting just
one character and doing your own copy.
When in doubt, hook up the debugger and do a 'hd 0' and look at the size of
each chunk.
--Bob
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html