To perform a Object Allocation analysis (Heap/Memory) profile of an application
Live instances and Active size: This is the size and number of active live objects for the given class.
Total instances and total size: This is the total number of object instances and their sizes including the live objects.
Allocation details: The allocation details provides the information about where the object was allocated, the class, method and line number that made the object allocation.
Identifying application memory leak: The Object allocation analysis view provides the number of surviving generations for a class. If this number is much larger than the rest of the application and is constantly growing then this object is a candidate for memory leak analysis. In the profiling navigator select the monitor and click on "Run garbage collection" to force a garbage collection event, monitor the age of the object, if the object age continues to grow then this object is being held and not garbage collected. Navigate to the allocation details view to determine the object allocation site of the leaking object. On the other hand, if this metrics stabilizes and does not grow noticeably thereafter, it's guaranteed that your application does not have any growing memory leaks.
*Supported for Java 1.4 and lower java profiling
** Support for profiling Java 5.0 (also referred to as Java 1.5) and above java virtual machines.
Related concepts
Overview of the Profiling Tool
Profiling resources
Object References view*
Related tasks
Profiling an application
Identifying memory leaks*
(C) Copyright Intel Corporation 2007, 2008. All Rights Reserved.