dotMemory 2017.2 Help

Call Tree

In Call Tree, the list of calls starts with the first call in the stack descending to the one that directly created an object set.

The list of calls consists of the following columns:

NameDescription
Function Function name.
Bytes The size of objects allocated by a call.
Objects count The number of objects allocated by a call.
Bytes in subtree The size of objects allocated by all underlying calls.
Objects count in subtree The number of objects allocated by all underlying calls.
Namespace The namespace a call belongs to.

Finding Functions by Name

To find a function by its name:

  1. Click the /help/img/dotnet/2017.2/find_function_button.png Find Function button or use the Ctrl+F shortcut. The Find Function pop-up will appear.
  2. Start typing characters in the text box. As you type, the list of items narrows down, suggesting function names that match the entered substring.

Note that you can use CamelHumps to ease finding a certain function. For example, to find the RenderDataDrawingContext function, you can type only 'RDDC'. CamelHumps is a case-insensitive feature, so there is no difference between 'rddc' and 'RDDC'.

Selecting Objects for Further Analysis

If a function is called multiple times, certain calls are displayed separately in the allocations list. For your convenience, you can select not only objects created by a particular call but objects created by all function calls as well.

In more details, you can select the following subjects for further analysis:

To select objects allocated by a particular function instance (exact call):

  • Do one of the following:
    • Double-click a corresponding function.
    • Right-click the function and choose Open objects allocated by this instance of the function.

    After this, the Created in instance of function [function_name] subject will be added to the Analysis Path and the list of desired objects will be displayed in the Group by Types view.

To select objects allocated in a function subtree (function instance and all its underlying calls):

  • Right-click the function and choose Open objects allocated by all functions in this subtree.

    After this, the Created in subtree of function [function_name] subject will be added to the Analysis Path and the list of desired objects will be displayed in the Group by Types view.

To select objects allocated in all instances of a function:

  • Right-click the function and choose Open objects allocated by all instances of the function.

    After this, the Created in all instances of function [Function_name] subject will be added to the Analysis Path and the list of desired objects will be displayed in the Group by Types view.

To select the objects that are exclusively retained by the analyzed objects set:

  • Click the /help/img/dotnet/2017.2/open_retained_objects_button.png 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.

Last modified: 29 August 2017