dotTrace
 
Get dotTrace

.NET Memory Allocations

Last modified: 26 May 2024

The .NET Memory Allocations filter shows you how your application allocated memory to the managed heap. For example, Call Tree shows how much memory (in MB) a particular call has allocated.

Select the .NET Memory Allocations event for analyzing excessive memory traffic and garbage collections. The latter are one of the main reasons of UI freezes as the main thread can be suspended during a GC.

Note that allocation point event is raised only after the size of allocated memory exceeds 100 KB in total. For example, a thread allocates five 50 KB memory blocks during profiling. In such a case, dotTrace will detect only two allocations of 100 KB.

Memory allocation example

After you select the .NET Memory Allocations subject, you can fine-tune the result with the .NET Memory Allocations: Heap filter.