Partager via


Collect memory data from .NET Framework services by using the profiler command line

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

This section describes the procedures and options for collecting memory allocation and object lifetime data for a .NET Framework service using the sampling method from the command line.

Common tasks

Task Related Content
Attach the profiler to a .NET service - How to: Attach the profiler to a .NET service to collect memory data
Instrument a .NET service and collect .NET memory data - How to: Instrument a .NET Framework service and collect memory data
Add tier-interaction data - Collect tier interaction data

Profile services

Task Related Content
Profile by using the sampling method - Collect application statistics using sampling
Profile by using the instrumentation method - Collect detailed timing data using instrumentation
Profile resource contention and thread activity - Collect concurrency data

Profile .NET Framework memory data

Task Related Content
Profile stand-alone (client) applications - Collect .NET Framework memory data
Profile ASP.NET Web applications - Collect memory data

Analyze .NET memory data views and reports

Reference