dotMemory
 
Get dotMemory

Similar Retention

Last modified: 25 July 2024

The Similar Retention view groups objects by the similarity of their retention paths. For each object set, the view shows the two shortest paths to roots. Note that from the whole variety of shortest paths, dotMemory selects only two paths that are most different from each other.

The Similar Retention view allows you to distinguish where the objects of the same type logically belong. For example, several int variables in an array will have the same retention path, which is different from variables of any other int array.

You can also use Similar Retention to identify why an object is still in memory. For example, it may be helpful when investigating potential memory leaks caused by objects retained on multiple paths (refer to Group by Dominators for details).

The list of objects for which the graph is built consists of the following columns: