The Heap window is typically located in the main editor window of the IDE and displays
detailed information about the heap when the
was saved.
You can open a heap snapshot in the Heap window by performing the following steps.
Choose Profile > Load Heap Dump in the main menu.
Locate the heap snapshot on your local system and click Open.
If there are saved heap snapshots associated with an open project
you can also open the heap snapshots from the Profiler window.
You do not need to be running a profiling session to open a heap dump.
The Heap window contains a toolbar with the following main tabs for browsing the
information contained in the heap dump. Each tab contains additional tabs in the toolbar that
enable you to modify the information that is displayed in the tab.
Summary. This tab displays general information about the heap dump such as total numbers of classes, instances.
The Summary tab also provides you with information about the environment and system properties of the machine where the heap dump was taken.
You can click the Inspect tab to find objects by the retained size.
In the Inspect tab you can click the object to view details about the object in the Classes or Instances tab.
Classes. This tab displays a list of classes with information about the number of instances of the class and total size of the instances.
You can double-click a class in the list to view details in the Instances tab.
You can click the Static Fields tab in the toolbar to view the static fields of the selected class.
You can click Compare with another heap dump to select and then view the differences between two heap dumps.
Instances. This tab displays the instances for a class that you select in the Classes tab.
For each instance, you can do the following:
Select an instance to browse the fields of the instance in the the Fields Browser.
Select an instance to browse the references to the instance in the References Browser.
You can hide or reveal the individual panes by using the Instances tab, the Fields tab and
the References tab in the toolbar.
You can right-click individual items in each of the panes to open a popup menu
with additional commands.
OQL Console. This tab displays the OQL editor, saved OQL queries and a window
that displays the query results.