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

Reply
Developer
Developer
CMY
Posts: 961
Registered: 02-10-2009
My Carrier: Verizon
Accepted Solution

Garbage collection

If the garbage collector is invoked by an application, is it run in the background or in the called thread? Is there any way to profile memory in the JDE while an app is running?
Please use plain text.
Developer
Posts: 5,339
Registered: 09-20-2008

Re: Garbage collection

In JDE you can do memory snapshots and compare them with each other during app execution.

 

In JDE run Help - IDE Help

 

There are the necessary instructions.

Tbilisoft Team
BlackBerry Utilities For Everyday Life
main site: http://www.tbilisoft.com
site for mobile users: http://www.tbilisoft.mobi
Please use plain text.
Developer
peter_strange
Posts: 14,614
Registered: 07-14-2008

Re: Garbage collection

I think you will also find this video very useful.  It explains more about garbage collection and demonstrates the profiling.

 

Garbage Collection

http://www.blackberry.com/DevMediaLibrary/view.do?name=GarbageCollection

Please use plain text.