Share via


Out-of-Memory Registry Settings

Out-of-memory (OOM) settings are controlled by registry values under the HKEY_LOCAL_MACHINE\SYSTEM\OOM registry key.

The following registry values specify the memory low threshold. The number of bytes considered to be the memory low threshold is the maximum of (cbLow + cpLow * PageSize).

"cbLow": REG_DWORD
"cpLow": REG_DWORD

The following registry values specify the critical threshold. The number of bytes considered to be the critical threshold is the maximum of (cbCritical + cpCritical * PageSize).

"cbCritical": REG_DWORD
"cpCritical": REG_DWORD

The following registry value specifies the size of the largest block that can be virtually allocated with VirtualAlloc when the allocation would leave the system with fewer than cpLow pages.

"cbLowBlkSz": REG_DWORD

The following registry values specify the size of the largest block that can be virtually allocated with VirtualAlloc when the allocation would leave the system with fewer than cpCritical pages.

"cbCritBlkSz": REG_DWORD
"cpCritBlkSz": REG_DWORD

The following registry value specifies the number of milliseconds for applications to shut down.

"cmsWait"=dword: <milliseconds>

See Also

User Interface Registry Settings

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.