Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

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.

NoteImportant

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

  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.

See Also

Community Additions

ADD
Show:
© 2015 Microsoft