Automatic Leak Detection page, Edit Profiling Set dialog box

The Automatic Leak Detection page lets you select options for the Automatic Leak Detection profiling type.

To open the Automatic Leak Detection page, open the Profiling and Logging perspective. From the main menu, select Run > Profile..., and select or create a profiling configuration. In the Profiling tab for the configuration, select either the Memory Leak Analysis - Manual Heap Dumps or Memory Leak Analysis - Timed Heap Dumps profiling set and click Edit.

In the Edit Profiling Set dialog box, highlight the entry for Automatic Leak Detection.

The following table describes the options you can select for the Automatic Leak Detection profiling set:

Option Description Default, timed heap dump collection Default, manual heap dump collection
Settings for leak data collection: Timed heap dump collection If selected, two heap dumps will be captured automatically during profiling. You can control when the heap dumps are captured by entering numbers in the "Seconds to wait before capturing first heap dump" and "Seconds after the first heap dump before capturing last heap dump" edit boxes. On Off
Settings for leak data collection: Seconds to wait before capturing first heap dump Allows you to specify the number of seconds to wait after program launch before capturing the first heap dump. The first heap dump is used as a baseline for the leak analysis. It should be captured when your application has reached a stable state. 600 Not available
Settings for leak data collection: Seconds after first heap dump before capturing last heap dump Allows you to specify the number of seconds to wait after the baseline heap dump before capturing the final heap dump. The final heap dump should be captured at a point in the execution of your program where you suspect a leak might have occurred. When the leak analysis is performed, the final heap dump is compared to the baseline heap dump to identify leak candidates. 600 Not available
Settings for leak data collection: Manual heap dump collection If selected, use the heap dump capture buttons or menu commands to manually capture the baseline and final heap dumps. Off On
Threshold: Enter threshold value between 1 and 99 (inclusive) Allows you to set a threshold for evaluating objects. The lower the threshold, the more objects are considered as potential leak candidates. Note: increasing the number of objects evaluated results in slower performance for the data collection run. 20 20

Note: A profiling set that contains the Automatic Leak Detection profiling type cannot include any other profiling type.

 

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