Article ID: 290639 - Last Review: April 11, 2008 - Revision: 2.1 How to enable heap counters for SysmonThis article was previously published under Q290639 Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base: 322756
(http://support.microsoft.com/kb/322756/
)
How to back up and restore the registry in Windows SUMMARY
The heap performance-monitoring counter is a new feature in Microsoft Windows XP. This feature is included in Microsoft Windows Server 2003, Windows Vista, and Windows Server 2008. Performance Logs and Alerts (Perfmon.exe) can display about 20 heap-related counters. These counters are not enabled by default; you must enable them.
MORE INFORMATIONWarning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk. Additional heap counters:
Total Frees/sec
Perfmon.exe displays these counters when the following registry key is set:
Committed Bytes Reserved Bytes Virtual Bytes Free Bytes Free List Length Avg. alloc rate Avg. free rate Uncommitted Ranges Length Allocs - Frees Cached Allocs/sec Cached Frees/sec Allocs <1K/sec Frees <1K/sec Allocs 1-8K/sec Frees 1-8K/sec Allocs over 8K/sec Frees over 8K/sec Total Allocs/sec Blocks in Heap Cache Largest Cache Depth % Fragmentation % VAFragmentation Heap Lock contention
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PerfProc\Performance
For the changes to take effect, you need to restart the computer after you modify the registry. Note that only the process heap and the heaps with higher usage are monitored.
"DisplayHeapPerfObject"=dword:00000001 | Article Translations
|
Back to the top
