Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

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

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
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date