Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: Enterprise
Expertise: Advanced
Oct 9, 2001



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Detecting Memory Leaks in Palm OS

Memory is precious in Palm OS, so you can't afford any memory leaks in programs. Therefore, it's very essential to detect any memory leaks. To do this put breakpoints in the program where you want to find any memory leaks. When the program stops at the breakpoint, go to "Show Window" in "Palm" Menu. Type hd 0 here.

The IDE will show all the allocated memory and their sizes. This allows you to check whether the memory that should have been deallocated has been deallocated or not. This helps a long way in making your program leak free.
Shiv Kumar
Thanks for your registration, follow us on our social networks to keep up-to-date