共用方式為


Collecting Memory Data from .NET Framework Services by Using the Profiler Command Line

Note

This article applies to Visual Studio 2015. 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 - Collecting tier interaction data

Profiling Services

Task Related Content
Profile by using the sampling method - Collecting Application Statistics Using Sampling
Profile by using the instrumentation method - Collecting Detailed Timing Data Using Instrumentation
Profile resource contention and thread activity - Collecting Concurrency Data

Profiling .NET Framework Memory Data

Task Related Content
Profile stand-alone (client) applications - Collecting .NET Framework Memory Data
Profile ASP.NET Web applications - Collecting Memory Data

Analyzing .NET Memory Data Views and Reports

.NET Memory Data Views

Reference

Command-Line Profiling Tools Reference