You can automatically generate a list of leak candidates based
on two heap dumps.
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 OK 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.