Oliver, I can't offer you an answer, but I can offer you a tease. :-)
If you can wait a couple of weeks, Poser 3.4 will include better Memory Leak detection support. In particular, when you are told about memory leaks, you will also be provided with a stack crawl of the context that created the leaked block. This should give you more clues as to what's going on. -- Keith Rollin -- Palm OS Emulator engineer At 7:51 PM -0800 12/30/01, Oliver Steinmeier wrote: >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). -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
