HOWTO: Change Max Memory Allowed with MmProbeAndLockPagesLast reviewed: February 17, 1998Article ID: Q121965 |
The information in this article applies to:
- Microsoft Win32 Device Development Kit (DDK) for Windows NT, versions 3.1, 3.5, 3.51
SUMMARYWhen using MmProbeAndLockPages, you need to remember that there is a limit to the amount of memory that can be locked down by MmProbeAndLockPages. The amount of memory is normally determined by the computer system at boot time. However, if you need to probe and lock more memory than is being allowed, there is a registry parameter that you can configure to allow you to determine the amount of memory available to probe and lock. A key named IoPageLockLimit is located in HKEY_LOCAL_MACHINE\CurrentControlSet\Control\Session Manager\Memory Management. By default, this limit is 0, which indicates to the system that it should use a built-in algorithm to determine the amount of memory. You can change this value to indicate the number of bytes that can be used for MmProbeAndLockPages. NOTE: Be careful when changing this value. The default value computed by the system when IoPageLockLimit is 0 is tuned specifically for system performance. Allowing the system to lock down more memory can have a detrimental effect on system performance.
|
Additional query words: NT DDK kernel mode memory
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |