Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Find memory leaks in code

by Retired on ‎02-16-2010 10:46 AM - edited on ‎06-14-2012 09:26 AM by BlackBerry Development Advisor (7,296 Views)



This article applies to the following:


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




The BlackBerry Java Plug-in for Eclipse and 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 learn more about these tools Click Here.


Users Online
Currently online: 20 members 1,883 guests
Please welcome our newest community members: