Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 noteImportant Note:

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.

Enabling .NET memory allocation enables the Profiler .NET Memory Allocations View. Enabling .NET Lifetime data enables the Object Lifetime View.

For information about how to use command line tools, see Using the Profiling Tools From the Command-Line.

To collect .NET memory allocation

  1. In Performance Explorer, right-click the performance session, and then click Properties.

  2. In the Property Pages, click the General properties.

  3. Select the Collect .NET object allocation information check box.

To collect .NET lifetime data

  1. In Performance Explorer, right-click the performance session, and then click Properties.

  2. In the Property Pages, click the General properties.

  3. Select the Collect .NET object allocation information check box, and then select the Also collect .NET object lifetime information check box.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft