Memory Profiling Results for Java

Memory Profiling for Java

After execution of an instrumented application, the Memory Profiling report displays:

Report Explorer

The Report Explorer window displays a Test for each execution of the application node or for a test node when using Component Testing for Java. Inside each test, a Snapshot report is created for each Memory Profiling snapshot.

Method Snapshots

The Memory Profiling report displays snapshot data for each method that has performed an allocation. If the Java CLASSPATH is correctly set, you can click blue method names to open the corresponding source code in the Text Editor. System methods are displayed in black and cannot be clicked.

Method data is reset after each snapshot.

For each method, the report lists:

Referenced Objects

If you selected the With objects filter option in the JVMPI Settings dialog box, the report can display, for each method, a list of objects created by the method and object-related data.

From the Memory Profiling menu, select Hide/Show Referenced Objects.

For each object, the report lists:

Differential Reports

The Memory Profile report can display differential data between two snapshots within the same Test. This allows you to compare the referenced objects. There are two diff modes:

Differential reports add the following columns to the current Memory Profiling snapshot report:

To add or remove data to the report:

  1. From the Memory Profiling menu, select Hide/Show Data.

  2. Toggle the data that you want to hide or display

To sort the report:

  1. In the Memory Profiling window, click a column label to sort the table on that value.

To obtain a differential report:

  1. From the Memory Profiling menu, select Diff with Previous Referenced Objects.

To obtain a user differential report:

  1. In the Report Explorer, select the current snapshot

  2. Right-click another snapshot in the same Test node and select Diff Report.

Related Topics

Using the Memory Profiling ViewerMemory Profiling Settings