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?

Steve Patt
President, Stevens Creek Software
  http://www.stevenscreek.com/palm
  Best PQA ("ePQA"), PalmSource 99
  Best Application ("PizzaScan"), Palm Developer's Conference 1998
  First printing software for the Palm - September, 1997


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to