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:
- In the Leak Candidates view,
click the Analyze for Leaks button
.
- In the Select Leak Analysis Options dialog
box, select the two heap dumps that you want to use for the analysis.
- 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.
- 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