I've seen Gremlins activate Find, and since Find calls other applications, it is possible for them to leak. I find it is best to test with Gremlins with no other applications in memory (but your own).
-Dave
-----Original Message-----
From: Steve [SMTP:[EMAIL PROTECTED]]
Sent: Monday, February 28, 2000 8:18 AM
To: Palm Developer Forum
Subject: Very slow memory loss
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. But by
running the app manually, and trying every single feature of the app in
every variant, I find no feature which causes any loss whatsoever. Is it
possible that Gremlins itself, or some system feature (like Find) can
cause this extremely slow memory leak? Or is it possible there is
something lurking in my app? I absolutely guarantee that every
MemHandleNew in the app is paired with a MemHandleFree, and if it weren't
I'd be seeing a heck of a lot bigger memory leak than that (plus the
number wouldn't be such a strange number). What could be happening?
[snip]
