Generating a list of leak candidates

You can automatically generate a list of leak candidates based on two heap dumps.

Prerequisite: You must first have available two heap dumps for the same process. Refer to Obtaining heap dumps for memory leak analysis

To generate the list:

  1. In the Leak Candidates view, click the Analyze for Leaks button

    Analyze for leaks button.

  2. In the Select Leak Analysis Options dialog box, select the two heap dumps that you want to use for the analysis.

  3. Select the threshold value for reporting leak candidates. The default value is 20. Decreasing the threshold value means that you display more potential leaks.

    Note: This value overrides the value specified in the profiling set.

  4. Click the OK button to start analysis. The progress of the analysis is displayed in the Progress monitor. When analysis is complete, any leak candidates above the threshold value are displayed in the Leak Candidates view.

 

Parent topic

Analyzing memory leaks

 

Related tasks

Obtaining heap dumps for memory leak analysis
Identifying memory leaks

Related reference
The Leak Candidates view