Identifying memory-intensive classes

Prerequisites:

The performance of a program can be greatly enhanced by identifying, and eliminating or modifying classes that take up large portions of a program's memory. You can use the Class Statistics view to identify these classes.

To identify memory intensive classes,...

  1. In the Profiling Monitor view, select the monitor or agent for you application.

  2. Right click, then select Open With > Class Statistics.  The Class Statistics view opens. 

  3. In the Class Statistics view, right-click and select Choose Columns.

  4. Select both Active Size and Total Size options.

  5. Click OK.

  6. Identify the classes with the greatest total size value. These are the most memory-intensive classes. Use the Actual Size column to see the total size for the instances that have not been garbage collected.

Related concepts
Overview of the Profiling Tool
Statistical views

Related tasks
Profiling an application
Launching or attaching a Java process


>