Hi all,
I am getting this error after about 30,000 gremlin
events using the Palm 3.3 dbg ROM and POSE 3.3:
UIAppShell (unknown version) called SysFatalAlert
with
the message: "SystemMgr.c, Line 4192, Possible
memory leak.
Use the 'hd0' command to find chunks owned by
your app.
These chunks have an ownerID of 2".
The same prc runs through over 3,000,000 gremlin
events on a Palm 3.5 dbg ROM without problems (same
gremlin #).
'hd 0' doesn't seem to help; the memory chunk doesn't
seem to contain anything that I can identify.
Of course, I searched the archives and found various
posts pointing towards "FrmCloseAllForms()", and yes,
I have this call at the end (and it does get
executed).
I believe I am freeing all the memory via
MemHandleFree() that I allocate via MemHandleNew() (or
that the OS allocated for me for a field where I
replace the handle with a new one). (but believing is
probably not good enough, so I am going to re-verify
that...).
What I am mostly curious about is why Palm OS 3.3
catches this problem and Palm OS 3.5 doesn't (again,
both are debug versions).
Thanks,
Oliver
__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/