Collecting leak detection data with timed heap dumps

Timed heap dumps are captured at intervals that you can specify in the Memory Leak Analysis - Timed heap dumps profiling set.

Prerequisites:

To collect data using timed heap dumps:

  1. In the Profiling page (Overview subpage) of the Profile dialog box, select the Memory Leak Analysis - Timed heap dumps profiling set.
  2. If you want to adjust the parameters for the profiling run, including the times for capturing heap dumps and the threshold value for reporting leak candidates, do the following:
    1. Click Edit, then Next, to open the Automatic Leak Detection page.
    2. Enter a value for Seconds to wait before capturing first heap dump. The default is 600 seconds.
    3. Enter a value for Seconds after first heap dump before capturing last heap dump. The default, again, is 600 seconds.
    4. Set the threshold for reporting leak candidates to a value between 1 and 99. The default value is 20. Decreasing the threshold value means that you display more potential leaks.
    5. Click Finish.
  3. Click Profile to start your application.
  4. Let your program run. The Leak Candidates view displays the status of the profiling run, and reports when you can start analysis. You can now terminate or detach your application.
Related tasks
Generating a list of leak candidates
Related reference
The Leak Candidates view
Automatic Leak Detection page, Edit Profiling Set dialog box
Related information
Getting started: Profiling J2EE applications
Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.