The Memory Statistics views displays statistics about the application heap. It provides detailed information such as the number of classes loaded, the number of instances that are alive, and the memory size allocated by every class. Memory statistics are available at the package, class, and instance level.
This view is made of a table where the first column presents the list of items. There are three display modes are available based on the three object types:
The data displayed depends what object type is selected. The statistics available for each object are summarized in the table below.
Column heading | Package statistics ![]() |
Class statistics![]() |
Instance statistics![]() |
---|---|---|---|
|
Accumulated by package | Accumulated by class | Count |
|
Accumulated by package | Accumulated by class | Count |
|
Accumulated by package | Accumulated by class | Count |
|
Accumulated by package | Accumulated by class | Size |
|
Accumulated by package | Accumulated by class | Size |
Note: The totals shown in this view represent only the data that has been collected since you started monitoring your process. If you start monitoring your process half way through the execution, you will only see the totals from the point that you started monitoring. As well, in the package mode, only the totals of the collected classes for that package are shown. Classes that you have filtered out will not be included in the totals.
Note: In order for instance level data to be shown for the active size and collected columns in the Memory Statistics view, instance level data must be collected for the Time Analysis profiling type. To collect instance level data, you must perform the following actions on the Profiling Types page for your profiling set:
For information on how to access the Profiling Types page for a profiling set, see the following tutorial: Analyzing the profiling data from a Java process.
Icon | Definition |
---|---|
![]() |
Display the package statistics |
![]() |
Display the class statistics |
![]() |
Display the instance statistics |
![]() |
Open the source of a selected item. |
![]() |
Shows the percentage of memory allocated. |
![]() |
Shows the change in each numeric column since the last refresh. |
![]() | Filter objects based on time, size, total instances, or other criteria. |
![]() |
Export the data to a file in HTML format. |
![]() | ![]() ![]() |
Icon | Definition |
---|---|
![]() |
Refresh the view. |
![]() |
Choose the columns to display. |
![]() |
Show object references. |
![]() |
Open the source of a selected item. |
The statistics views provide filtering based on name. Use the Filter field to specify a string pattern.
Click the title of a column to sort it. Click the title of the column again to sort it in reverse order. The title of the column is prefixed with > if the column is sorted in ascending order or with < if it is sorted in descending order.
Columns can be hidden or shown.
Related concepts
Overview of the Profiling Tool
Profiling
resources
Related tasks
Applying profiling filters
Profiling an application
Identifying memory-intensive classes
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.