dotTrace 2024.1 Help

Unreleased Native Allocations

The Unreleased Native Allocations filter shows you how the application allocates memory to the native (unmanaged) heap. For example, when Unreleased Native Allocations is selected, Call Tree shows how much memory (in MB) a particular call has allocated.

Select the Unreleased Native Allocations event for analyzing all issues related to the native memory: potential memory leaks, issues with unmanaged components used by your managed code, and so on.

Note that unlike the managed memory allocation event that is raised only when the size of allocated memory exceeds 100 KB in total, "native" memory allocation event is raised every time an allocation occurs regardless of the allocated memory size.

IMPORTANT! Currently dotTrace shows you only allocations of native objects that were not deallocated by the time of getting the snapshot. Thus, you cannot use this filter to analyze excessive native memory allocations (native memory traffic).

Native allocations
Last modified: 11 February 2024