How to: Collect .NET Memory Allocation and Lifetime Data
Performance Tools support the collection of .NET memory allocation and lifetime data to help you detect memory-related performance issues in your application.
Important
If .NET memory allocation and lifetime data collection is enabled, the profiler collects only memory samples. No other samples, such as CPU, page faults, or system calls are collected.
For information about how to use command line tools, see Command-line Tools.
To collect .NET memory allocation
In Performance Explorer, right-click the performance session, and then click Properties.
In the Property Pages, click the General properties.
Select the Collect .NET object allocation information check box.
To collect .NET lifetime data
In Performance Explorer, right-click the performance session, and then click Properties.
In the Property Pages, click the General properties.
Select the Collect .NET object allocation information check box, and then select the Also collect .NET object lifetime information check box.
See Also
Concepts
Guidelines for Using Performance Tools
Performance Session Overview