Exploring Memory Analysis Views > Exploring the Heap Graph View >  Interacting with the Heap Graph  

Interacting with the Heap Graph

The following table summarizes the tasks that you can perform:

Task

Action

Response

Change the Color By scheme of the graph

Open the Color By drop-down menu and choose the other option.

The graph changes to the other scheme.

Enlarge or reduce the graph

Move the button on the Scale slider.

The graph becomes larger or smaller.

Move to a section of the graph that is not in the viewing area

• Use the scroll bars to move to the hidden section.

or

• Click the Graph Panner toolbar button and move the rectangle to the desired area.

The graph viewing area shows the selected area.

View details of the selected instance

Click the Instance Detail toolbar button.

The Instance Detail view opens.

Investigate the selected node

Click the Leak Doctor toolbar button.

The Leak Doctor view opens.

Change the status of the selected node

Right-click the node and select one of the other Mark As or Mark Reachable As options.

The color of the node or the node and all nodes reachable from it changes.

Show/hide table columns

Right-click and select Show/Hide Columns. Select the columns to show and click OK.

The selected columns are displayed. The rest are hidden.

Resize column widths

To set the width, drag the edge of the column heading left or right.

To see all data in a column, right-click in the column and select Size <column name> to Fit.

To fit all columns in the viewing area, right-click and select Size All to Fit.

The columns are resized.

Rearrange columns

Drag a column by its heading and drop it in a new location.

The column appears in its new location.

Sort the table by a metric

Click the column heading for the metric.

The table is sorted. To reverse the sort order, click the heading again.

Export the table to CSV

Right-click in the table and select Export to CSV. Type a file name and click Save.

The file contains the table data separated by a CSV delimiter. It may also contain headers. See also “Changing How JProbe Exports to a CSV File”.