Exploring Memory Analysis Views > Exploring the Leak Doctor View >  Opening the Leak Doctor  

Opening the Leak Doctor

You use the Leak Doctor view after you have identified your loitering object.

To open the Leak Doctor:

1 In the Instance Detail or Heap Graph view, select the loitering instance.

or

Select a group of instances in the Instance Query view.

2 Click the Leak Doctor toolbar button.

The Leak Doctor view opens, displaying the references to the loitering object.

The upper panel of the Leak Doctor lists references to the loitering object by name, (optional) comment, type of reference, and the field of the referring instance that refers to the object. The toolbar has buttons for removing and restoring edges. The lower panel displays the removed edges.