Jeetu wrote:
i m new to PODS can u tell me any way how to Find the Memory Leak problem With PODs
If you can run your program under the Emulator (NOT the simulator!!!), the Emulator will detect memory leaks when the application exits. If you look in the Emulator's log file, it will show the contents of the memory that was leaked, and I believe it also shows the call stack (which functions called which) for the function that allocated the memory. (It only shows the function names if you build your PRC with debug symbols turned on. I'm not sure if PODS can do the right kind of debug symbols, because I use CodeWarrior.) Usually the combination of which function allocated the memory and the contents of the memory is enough of a clue to help you track down the memory leak. Of course, this method doesn't work if you are using some feature (like a PNO) that can't run under OS 4.x, since the Emulator only emulates 68k devices, and those can't run anything newer than 4.x. - Logan -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
