How To Increase Virtual Memory On Windows 10 – There are many reasons why your Windows 10 PC is running slow. One of the most common reasons is two things: not enough RAM left and not enough virtual memory left.
These two reasons can lead to your Windows 10 PC showing a low virtual memory error message. The easiest way to fix both of these problems is to find a way to set more virtual RAM on your Windows 10 computer.
What is Virtual Memory?
Virtual Memory makes your computer think it has more memory than it does. Without it, programs that take up a lot of RAM on your computer won’t function properly. Virtual memory helps with this by copying data from your RAM to your hard drive (HDD or SSD) to free up space.
However, using virtual data will be quite a lot slower than reading data from your RAM. It is also why your computer may not perform as fast as expected when using virtual memory. Under certain conditions, you may even get an error message when your virtual memory is running low.
How To Increase Virtual Memory On Windows 10
Using Windows Settings
To be able to adjust virtual memory resizing on Windows 10, try using the following steps:
Step 1: Open Windows Settings with the keyboard shortcut Windows + I and select System.
Select About item in the list of features on the left, continue on the right side of the window select System Info.
Step 2: In the System window, select Change Settings.
Note: While you are in the System window, make a note of the size of RAM available on your computer for future use. In the example image above, my Windows 10 computer currently has 8GB of RAM available.
Step 3: In the System Properties window, select the Advanced tab. In the Performance section, click the Settings button to open the Performance Options window.
Step 4: Continue to select the Advanced tab, under Virtual memory, select the Change button to modify the settings of virtual memory.
Step 5: In the Virtual Memory window, uncheck Automatically manage paging file size for all drives. Select a Custom size. Now you can set Initial size and Maximum size for your paging file.
Note: As a general rule, the paging file should be at least 1.5 times the size of your installed RAM and up to 3 times the size of your existing RAM. For a practical example, if you have 8GB of RAM on your machine, your minimum RAM settings will be 1024 x 8 x 1.5 = 12,288 MB and the maximum RAM is 1024 x 8 x 3 = 24,576 MB.
Step 7: Click Set and select OK to save the virtual RAM on the computer.
Using Command Prompt
To be able to set more virtual RAM for your Windows 10 computer using Command Prompt, follow the steps below:
Step 1: Open the Start Menu.
Step 2: Search for Command Prompt, then right-click on the best match and select the Run as administrator option.
Step 3: Type the following command to find out the current state of the paging file and press Enter.
wmic pagefile list /format:list
Step 4: Type the following command to switch to custom virtual memory management and press Enter.
wmic computersystem where name="%computername%" set AutomaticManagedPagefile=false
Step 5: Type the following command to set the initial and maximum size for virtual memory and press Enter.
wmic pagefileset where name="C:\pagefile.sys" set InitialSize=YOUR-INIT-SIZE,MaximumSize=YOUR-MAX-SIZE
Example: wmic pagefileset where name=”C:\pagefile.sys” set InitialSize=9216,MaximumSize=12288 (if you want to set the initial and maximum sizes to 9216 and 12288 megabytes respectively.
Step 6: Finally, type the following command to restart your computer and press Enter.
shutdown -r -t 00
After completing the steps above, your computer will start using virtual memory values and help improve your PC’s performance.
Should you change the virtual memory of Windows 10 or not?
Increasing virtual memory in Windows 10 should only be used as a temporary fix to help you get rid of existing errors on your computer. However, because the performance of the system file using the paging file is always slower when it uses RAM, you need to limit its use as it also does not give a noticeable increase in computer performance.
You can use a solution to increase virtual memory so that you can continue to use your computer until you have enough time and conditions to upgrade your computer’s RAM. And we would like to reiterate that you should not use this as a permanent solution.