Comparing Heap Dumps

See Also

You can compare two to view the differences between two heap snapshots that were taken at different times. You do not need to be running a profiling session to compare heap dumps.

Perform the following steps to compare two heap snapshots.

  1. If no heap dump is open in the Heap window, open a heap dump by choosing Profile > Load Heap Dump.

    Alternatively, you can open heap dump snapshots from the Profiler Control Panel if an open project has snapshots associated with the project.

  2. Click the Classes tab in the Heap window.
  3. Click Compare with another heap dump at the top of the Classes tab.

    The IDE opens the Select Heap Dump to Compare dialog box.

  4. Select a heap dump that is saved in your project or select From File and click Browse to locate a heap dump that is saved outside of your project on your local system.
  5. Click OK.

When you click OK, the IDE will update the Heap window to display the differences between the two heap dumps.

Click reset view at the top of the Heap window to display the initial heap dump.

See Also
Browsing a Heap Dump
Taking a Heap Dump
Analyzing a Heap Dump Using Object Query Language (OQL)
Working with Live Profiling Results

Legal Notices