Windows 11, while engineered to optimize the use of installed memory, offers users the flexibility to limit RAM usage. This capability is particularly useful for software testing, troubleshooting, or simulating environments with lower memory. However, it’s important to note that there is no straightforward option to simply set the operating system to “only use 4GB of RAM.” Instead, users must navigate through the legacy System Configuration tool, known as msconfig, which is primarily designed for testing and debugging purposes.
⚠️Important: This setting limits the amount of memory available to the entire operating system. It is not intended for regular use, as it can lead to significant performance degradation and may cause applications to run sluggishly or become unresponsive.
How to limit the system RAM on Windows 11
To restrict the memory available to Windows 11, follow these steps:
- Open Start.
- Search for System Configuration (or msconfig) and select the top result to launch the application.
- Navigate to the Boot tab.
- Select the current Windows installation, if applicable.
- Click on the Advanced options button.
- Check the Maximum memory option.
- Specify the amount of memory you want Windows 11 to utilize (in megabytes).
- Quick tip: Since the value must be entered in megabytes, use 4096 (4GB), 8192 (8GB), 16384 (16GB), or 32768 (32GB).
- Click the OK button.
- Click the Apply button.
- Click the OK button again.
- Restart your computer.
Upon completing these steps, Windows 11 will adhere to the specified memory limit, disregarding any additional installed RAM until the restriction is lifted. During testing, it was observed that Task Manager reported 3GB when the limit was set to 4GB. This discrepancy arises because part of the physical address space is reserved for other components. For precise testing with 4GB available, consider reserving an extra 1GB, such as setting it to 5120 (5GB), to reflect 4GB in Task Manager.
How to restore full RAM access on Windows 11
To revert to full memory access on Windows 11, follow these steps:
- Open Start.
- Search for System Configuration (or msconfig) and select the top result to open the app.
- Go to the Boot tab.
- Select the current Windows installation, if applicable.
- Click on the Advanced options button.
- Uncheck the Maximum memory option.
- Click the OK button.
- Click the Apply button.
- Click the OK button once more.
- Restart your computer.
After completing these steps, Windows will once again recognize and utilize all available RAM.
Why would you limit RAM?
This feature is primarily designed for testing rather than for daily operations. Common scenarios include assessing application performance under constrained memory conditions, troubleshooting software issues related to memory, simulating older hardware environments, and facilitating software development. For instance, recent tests explored the performance of Windows 11 with 8GB of RAM in 2026.
If your aim is to reduce overall memory consumption or free up RAM, it is advisable to disable unnecessary startup applications, close background processes, or consider upgrading your system rather than limiting the operating system’s memory allocation.
Why can’t you set the maximum memory?
On certain modern systems, especially those utilizing UEFI firmware with Secure Boot enabled, the “Maximum memory” setting may not be accessible or may be disregarded. In such cases, temporarily disabling Secure Boot could be necessary to apply the memory limit.
⚠️Warning: Disabling Secure Boot diminishes your computer’s defense against boot-level malware and may hinder some security features. Only disable Secure Boot temporarily for testing purposes, and ensure to re-enable it afterward.
Disable Secure Boot
To disable Secure Boot, follow these steps:
- Open Settings.
- Navigate to System.
- Access the Recovery page.
- Click the Restart now button under the “Advanced startup” section.
- Click the Restart now button again.
- Select Troubleshoot.
- Choose Advanced options.
- Select the “UEFI Firmware settings” option.
- Click the Restart button.
- Access the advanced settings page for your motherboard.
- Select the “Secure Boot” option and choose “Disabled.”
After completing these steps, restart your device and then configure the “Maximum memory” setting in System Configuration (msconfig).
Enable Secure Boot
Before proceeding, ensure to restore the memory settings from the System Configuration, and then to enable Secure Boot, follow these steps:
- Open Settings.
- Navigate to System.
- Go to the Recovery page.
- Click the Restart now button under the “Advanced startup” section.
- Click the Restart now button again.
- Select Troubleshoot.
- Choose Advanced options.
- Select the “UEFI Firmware settings” option.
- Click the Restart button.
- Access the advanced settings page for your motherboard.
- Select the “Secure Boot” option and choose “Enabled.”
Once these steps are completed, Secure Boot will be re-enabled on your computer.
FAQs for limiting RAM usage on Windows 11
Here are some frequently asked questions regarding the process of limiting memory usage in Windows 11.
Does this reduce memory usage by apps?
Join us on Reddit at r/WindowsCentral to share your insights and discuss our latest news, reviews, and more.