Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Find memory leaks in code

0 Likes
Started 02-16-2010 by
Modified 02-18-2010 by

Summary


This article applies to the following:


  • BlackBerry® Wireless Handhelds™ based on Java™
  • BlackBerry® Java Development Environment (JDE)


Details


The BlackBerry Java Development Environment (JDE) provides two tools to help find memory leaks.

The Memory Statistics tool displays statistics on the number of objects and bytes in use for object handles, RAM, and flash memory.


The Objects tool displays all objects in memory to help locate object leaks. Object leaks can cause the VM eventually to run out of flash memory, which resets the handheld.


Refer to the BlackBerry JDE Developer Guide for more information.


Additional Information


To view the Memory Statistics tool Click Here.

To view the Objects tool Click Here

Contributors