The EventHandler Analysis view tracks if there are types used only
as delegate targets. In other words, this analysis shows all types with
chains between them and GC roots going through delegate.
In most of the scenarios this could be a potential memory leak.
To see these types in the Type List, enable them by pressing the
Event Handler Leaks button
() in the ribbon. Then, you will be able to distinguish them by the icon in the type list:
How to decide if the analysis results are indications for memory leaks or not
Getting started with the EventHandler Analysis view
The Just My Types toggle button filters out all types which are not user code.
You can control which assemblies are considered user code in the Assembly List view.
By double clicking on a type or by clicking the Instances icon in the ribbon,
you can open a new tab with the Instances List view to examine all objects of the selected class.
Each row of the table holds the following information:
- Class Name - fully qualified name of the type.
- Instances - number of alive instances of this type at the moment the snapshot was taken.
- Total Retained Size - the sum of the retained sizes of all instances.