Megosztás a következőn keresztül:


Collect .NET Framework memory data 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 client (stand-alone) application by using the sampling method from the command line.

Common tasks

Task Related content
Start an application and profile .NET memory - How to: Launch a .NET Framework application with the profiler to collect memory data
Attach the profiler to a .NET application - How to: Attach the profiler to a .NET Framework application to collect memory data
Instrument an application to collect .NET memory data - How to: Instrument a stand-alone .NET Framework component and collect memory data with the profiler

Profile stand-alone applications

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
Adding tier-interaction data - Collect tier interaction data

Profile .NET memory data

Task Related content
Profile ASP.NET applications - Collect memory data
Profile services - Collect .NET memory data

Analyze .NET memory data views and reports

Reference