Group by Shortest Paths
The Group by Shortest Paths view shows you the shortest retention path for the selected object set. If an object is accessible from a number of roots, dotMemory will show you only one path to the closest root. All other paths are discarded in sake of simplicity. Use this view to quickly understand how an object is retained in memory. This view is especially useful comparing to other retention views as it also shows you field names through which the object is retained.
The list of paths consists of the following columns:
If an object is referenced through the field of other object, then the field name is displayed left to the class name.
Reachable objects count
The number of objects that can be reached from the root.
The overall size in bytes of underlying retained objects.
Selecting objects for further analysis
In the Group by Shortest Paths view, you can select the following subjects for further analysis:
To select objects of a specific type
Do one of the following:
Double-click the type in the list.
Right-click the type and choose Open this object set.
After this, the selected object set is added to the Analysis Path and you can use other object set views to analyze the objects in more details.
To select the objects that are exclusively retained by the analyzed objects set
Click the Open objects retained by this set button.
After this, the Exclusively retained objects subject will be added to the Analysis Path and the list of desired objects will be displayed in the Group by Types view.