Exploring Memory Analysis Views > Exploring the Instances View >  Interacting with the Instances View  

Interacting with the Instances View

The following table summarizes the tasks that you can perform:

Task

Action

Response

Examine the instances for this class or classes

Select the class and click Instance Detail View.

Note This action is available only if the selected classes have instances that are live in the heap.

The Instance Detail view opens with all the instances listed in the upper panel.

View the merged allocation points for the instances of one or more classes

Select the classes and click the Merged Allocation Points.

Note This action is available only if traces were collected for the selected classes.

The Allocation Points view opens with the merged stack traces for the selected classes. For more information see Exploring the Merged Allocation Points View.

Set your primary investigative path

In the Investigate By list, choose one of the following:

• To investigate use case objects, choose User Case Count/ Memory.

• To investigate the whole heap, choose Heap Count/Memory.

• To investigate garbage data, choose Dead Count/Memory.

The horizontal bar graph is re-drawn to reflect your choice.

Drill down into the data

Click a segment of the bar chart.

The Instances view is redrawn to display only the instances in the chosen category.

Narrow the set of objects of interest

Choose one or more classes and click the Query Instances toolbar button.

The Query Instances view opens, displaying the instances of the class or classes grouped by similar referrer/reference pattern.

See a call tree/graph for selected instances or garbage data

Set Investigate By to Use Case Count/Memory or Dead Count/Memory, choose the classes of interest, and click the Call Traces toolbar button.

 

Filter the table

See Filtering Data in the Instances View.

The classes in the table reflect the filtering expression(s) you have entered.

Save the chart as a PNG or JPEG file

Right-click in the chart and choose an option from the menu, then choose a location to save the file.

The file is saved to the location you indicate.

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 size a column to fit its data, right-click the column and select Size <column name> to Fit.

• To size all columns, right-click and select Size All to Fit.

The affected 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 table data 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”.

Create a report for this view

Click Export Data to HTML.