Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
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.

 

 

Sitemap