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

Reply
Developer
Developer
Posts: 1,123
Registered: ‎02-10-2009
My Device: 8130 / 8350 / 9530 / 9550 / 9850 / PlayBook
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?
Developer
Posts: 5,339
Registered: ‎09-20-2008
My Device: ***
My Carrier: ***

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.

Developer
Posts: 19,629
Registered: ‎07-14-2008
My Device: Not Specified

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