I have a related experience.  During Gremlin testing, "Find" was eventually
unable to launch the application, complaining that it was out of OwnerIDs.
Somehow, I had eaten up the pool of 16 owner ids.  These ids are normally
reclaimed and reused when the app exits.

Still, this problem did not surface until I implemented Find.  I may very
well
have a slowly leaking app, but I've also verified my memory allocations.

Michael Yam
www.ytechnology.com


Steve <[EMAIL PROTECTED]> wrote in message news:3310@palm-dev-forum...
>
> 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