In some dynamic resource handling we were returning true for all events in
our code. I found that for every form handled, I was losing 76 bytes of
heap space. This reared it's head when all heap space had been chewed up
and upon attempting to allocate memory, it choked with a memory error.
After going through the events one at a time, we found that the bottom line
is that trapping frmCloseEvent and not letting the OS handle it, causes a
memory leak.
Is anyone familiar with this? Are there any other events that would cause
such a case?
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/