The /maxmem parameter limits the physical memory available to Windows.





Specifies the maximum amount of physical memory available to Windows. Enter a decimal number that represents the amount of memory in megabytes.


This parameter actually limits Windows to memory addresses less than or equal to the specified value. Because some memory within the remaining address space might be reserved for nonsystem use, the actual memory available to Windows might be less than the amount that you specify.

The /maxmem parameter is supported only on Windows Server 2003, Windows XP, and Windows 2000. On Windows Server 2003 and Windows XP, use /burnmemory to limit system memory more precisely. On Windows Vista and later versions of Windows, use the removememory or truncatememory parameters with the BCDEdit /set command

You can use this parameter to test a driver in low memory conditions. For example, you can use this parameter to limit a computer with 1 GB of memory to 256 MB of memory.


multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /maxmem=256

Bootcfg Command

bootcfg /addsw /MM 256 /ID 1 



Send comments about this topic to Microsoft