First published on TECHNET on Jan 26, 2007
The obvious question is, "How do I fix it?" Check the following registry key: HKEY_LOCAL_MACHINESystemCurrentControlSetControlSession Manager. If the HeapDecommitFreeBlockThreshold value exists, set the value to 0 for Non-Exchange servers and 0x00040000 (hexadecimal) for Exchange servers. Once you make that change, you will need to reboot the server.
So what does the HeapDecommitFreeBlockThreshold value actually do? It provides better control of memory handling as it is freed to mitigate virtual memory fragmentation. Virtual memory fragmentation occurs where there is available virtual memory for a process, but they are not of a significant size. Over time, due to the varying sizes and lifetimes of memory allocations, memory fragmentation may occur. As you scale a server to handle more users and larger loads, you may see this. The most common scenario for this issue is with clustered Exchange servers used to host a large number of users or messaging databases - look for Event ID 9582 in the Application Event Log.
The obvious question is, "How do I fix it?" Check the following registry key: HKEY_LOCAL_MACHINESystemCurrentControlSetControlSession Manager. If the HeapDecommitFreeBlockThreshold value exists, set the value to 0 for Non-Exchange servers and 0x00040000 (hexadecimal) for Exchange servers. Once you make that change, you will need to reboot the server.
So what does the HeapDecommitFreeBlockThreshold value actually do? It provides better control of memory handling as it is freed to mitigate virtual memory fragmentation. Virtual memory fragmentation occurs where there is available virtual memory for a process, but they are not of a significant size. Over time, due to the varying sizes and lifetimes of memory allocations, memory fragmentation may occur. As you scale a server to handle more users and larger loads, you may see this. The most common scenario for this issue is with clustered Exchange servers used to host a large number of users or messaging databases - look for Event ID 9582 in the Application Event Log.
Additional Resources
- 315407 The "HeapDecommitFreeBlockThreshold" registry key
- 815372 How to optimize memory usage in Exchange Server 2003
- 325044 How to troubleshoot virtual memory fragmentation in Exchange Server 2003 and Exchange 2000 Server
- Aurthur Anderson
Updated Mar 15, 2019
Version 2.0CraigMarcho
Microsoft
Joined March 15, 2019
Ask The Performance Team
Follow this blog board to get notified when there's new activity