Running out of memory affects your system from top to bottom, making regular tasks suddenly feel like walking through treacle.

If that sounds like your Windows 11 installation, it’s time to check out your virtual memory settings to make sure your system can cope with demand. So, here’s how you change the virtual memory size on Windows 11, along with a few tips on boosting your system performance.

What Is Virtual Memory?

We’ve previously explained virtual memory in more detail, but here is an outline to bring you up to speed.

When your RAM runs low, your system will call upon the paging file to handle some of the extra data. However, as your hard drive or even solid-state drive is much slower than your RAM, system performance will take a hit.

Windows 11 Is Running Low on Virtual Memory

Now, the thing is, virtual memory has its own limits. It isn’t an infinite well of additional yet slower memory you can call upon. If you begin to run out of virtual memory, Windows 11 will display the following error message:

Windows 11 will automatically manage your virtual memory, ensuring that the paging file has enough capacity to handle your system demands. However, you can also manually increase the size of your paging file on Windows 11 if you’re comfortable making decisions regarding how much RAM you have installed.

Windows sets the initial virtual memory paging file equal to the amount of installed RAM. The paging file is a minimum of 1.5 times and a maximum of three times your physical RAM. You can use the following system to calculate your Windows 11 paging file (using a system with 8GB installed as the example), providing you know how much RAM you have installed.

Minimum: 102481. 5=12288 [1GB RAM x Installed RAM x Minimum] Maximum: 102483=24576 [1GB RAM x Installed RAM x Maximum]

Still, both of these values are high. Microsoft actually recommends “3 × RAM or 4 GB, whichever is larger,” which will protect your system from instability when you do use your paging file. However, Windows automatic paging file management might decide otherwise, so it’s typically best to let the operating system figure things out for itself. For example, in the image below, you can see that on my Windows 10 machine with 32GB RAM installed, the paging file is automatically set at just under 7GB.

Furthermore, remember that these values take up space on your hard drive, as Windows allocates the overall paging file space in case it needs it.

How to Increase Virtual Memory Size on Windows 11

If you want to go ahead and manually alter the paging file size on Windows 11 to remove the virtual memory low message, here’s how you go about it.

Press Windows key + I to open the Settings app. Head to System > About. Select Advanced system settings. Under Performance, select Settings. Open the Advanced tab. Under Virtual memory, select Change. Here are your Virtual Memory options.

Keep in mind the virtual memory management tips in the previous section. It might seem like drastically increasing your paging file is a great idea, but it’s almost guaranteed to cause system instability when you least expect it.

Install More RAM to Boost Your System Performance

The only way to truly fix your low virtual memory issue is to install more RAM. The reason your system is turning to the paging file to begin with is that additional data is being palmed off.

The answer is to install more RAM, which in turn will give your whole system a boost as you’ll no longer run out of memory and have to use the slower paging file instead.