Reserving More Acquisition Memory
Windows NT limits the total amount of memory that is page locked. The default amount of memory is determined according to the total amount of physical memory available in your system. If you are working with large data acquisition buffers, you might encounter an outOfMemoryError, unless you increase the default I/O page lock limit using the Windows NT Registry Editor, regedt32.exe.
The IoPageLockLimit registry key is located in:
HKEY_LOCAL_MACHINE\System\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 available memory. You can change this value to indicate the number of bytes that can be used.
Caution Use caution when changing this value. The default value computed by the system when IoPageLockLimit equals 0 is tuned specifically for system performance. Allowing the system to lock down more memory can have a detrimental effect on system performance and can even render your machine unusable. |