Configuring Available Memory in Windows NT

To see how much RAM Windows NT thinks your system has, switch to Program Manager and choose About Program Manager from the Help menu. For testing purposes, you can reduce the amount of memory that Windows NT thinks you have by modifying the BOOT.INI file. This file has protected attributes. If you want to modify it, make a copy of BOOT.INI first, and then use attrib to turn off the Read Only, Hidden, and System attributes for BOOT.INI.

Caution By turning off the protected attributes, you can now overwrite BOOT.INI. Some mistakes written to BOOT.INI can prevent Windows NT from starting.

To observe paging in action, it's useful to fool your system into thinking it has less memory. This forces the memory manager into more activity that we can easily observe. Find the line indicating the Windows NT operating system you want to boot with. We'll add a /MAXMEM=n parameter to the end of your Windows NT version line. The n is the number of megabytes you want to test. It is important that you do not make this less than eight. Following is an example of a BOOT.INI file set up with four versions of Windows NT, each configured to use different amounts of memory.

|


[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\winnt

[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\winnt="Windows NT Version 3.5"
multi(0)disk(0)rdisk(0)partition(1)\winnt="Windows NT 3.5, 12Mb" /MAXMEM=12
multi(0)disk(0)rdisk(0)partition(1)\winnt="Windows NT 3.5, 10Mb" /MAXMEM=10
multi(0)disk(0)rdisk(0)partition(1)\winnt="Windows NT 3.5, 8Mb" /MAXMEM=8
c:\="MS-DOS"