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:
|Path||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.|
|Bytes||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.