The Leak Candidates view

The Leak Candidates view displays the results of a leak analysis in tabular format.

To open the Leak Candidates view, double-click a Leak Candidates or Automatic Leak Detection profiling resource in the Profiling Monitor.

The Leak Candidates view can display the following information:

Column Description
Likelihood The ranking of the leak. Higher numbers indicate a greater probability that the item is the source of a serious leak. By default, the table is sorted on this column from the most likely to the least likely leak candidate. A value of 100 is assigned to the most likely candidate.
Root of leak The object at the head of the leaked data structure, followed by a numeric object identifier.
Container type The Java type of the container, followed by a numeric object identifier.
What's leaking The data structure at the head of the structures that were leaked into the container. Each leaking operation leaks one data structure into the container.
Number of leaks The number of instances of the leaked data structure.
Bytes leaked The total number of leaked bytes.
Objects leaked The total number of objects that all instances of the leaked data structure contain.

Note: You can sort the data in the table by clicking on any column header.

The following toolbar buttons and menu commands appear in the Leak Candidates view:

Toolbar Button Command Description

Perform Leak Analysis button

Analyze for Leaks This command performs a leak analysis on two heap dumps, and displays the results in the table. This command is not available before two heap dumps have been captured.

Capture heap dump button

Capture Heap Dump When data is being collected in manual mode, this command captures a heap dump. Exactly two heap dumps are required for leak analysis. This command is not available when you are collecting data in automatic mode, or when no data is being collected.

Show Reference Graph button

Show Object References This command displays the selected item in the Object Reference Graph view. You can also double-click an item to display it in the graph.

Export to HTML button

Export to HTML Opens the Export to HTML dialog box. This command lets you save the contents of the Leak Candidates view table to an HTML file.
Pop-up menu Choose Columns... Opens the Choose Columns dialog box. Use this dialog to hide, show, and reorder the columns in the table.
Pop-up menu Refresh Views Refreshes all open views with the current analysis data.

Notes:

 

Parent topic

Memory leak analysis user interface reference

 

Related tasks

Collecting leak detection data with manual heap dumps
Collecting leak detection data with timed heap dumps
Generating a list of leak candidates
Identifying memory leaks