Share via


Exploring Process Heaps Using Windows Performance Analyzer

Prior to the introduction of Windows Performance Analyzer (WPA), the analysis of process specific heap allocation and heap usage patterns was challenging. Custom instrumentations were needed to identify heap allocation and de-allocation instructions. These instrumentations often introduced tracing mechanisms that skewed the data collected for analysis.

The WPA Heap Analysis tool provides a comprehensive view of process heap behavior by producing graphs, summary tables and text based reports. WPA is based on Event Tracing for Windows (ETW). ETW is an Application Programming Interface that provides a mechanism to trace and log user and kernel mode events in a non-intrusive manner. No code changes are required to investigate problematic scenarios and to incorporate heap data collection into a test matrix. For more information on ETW please see the Event Tracing for Windows section of this document.

This section includes the following topics:

Heap Analysis Quick Start
Collecting Process Heap Data
Analyzing Process Heap Data
Windows 7 Advanced Heap Data Collection
Advanced Topics and Appendix