Welcome!

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 BlackBerry Development Advisor on ‎02-16-2010 10:46 AM - edited on ‎06-14-2012 09:26 AM by Administrator (6,997 Views)

Summary

 

This article applies to the following:

 

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

 

Details

 

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.

 

Contributors
Users Online
Currently online: 18 members 1,337 guests
Please welcome our newest community members: