다음을 통해 공유


Out-of-Memory Registry Settings (Windows Embedded CE 6.0)

1/6/2010

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 threshold at which the amount of memory available is considered to be low. The number of bytes of memory available at the threshold is the maximum of (cbLow + cpLow * PageSize).

"cbLow": REG_DWORD
"cpLow": REG_DWORD

The following registry values specify the threshold at which the amount of memory available is considered to be critical. The number of bytes of memory available at the 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 the VirtualAlloc function when allocating this memory leaves the system with fewer pages than the value of cpLow.

"cbLowBlkSz": REG_DWORD

The following registry values specify the size of the largest block that can be virtually allocated with the VirtualAlloc function when allocating this memory leaves the system with fewer pages than the value of cpCritical.

"cbCritBlkSz": REG_DWORD
"cpCritBlkSz": REG_DWORD

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

"cmsWait"=dword: <milliseconds>

See Also

Concepts

GWES Registry Settings