As you all know, the RAM in our computers is basically one of the most important components. And, in case your system doesn't have enough RAM capacity, it's no wonder you will be facing a lot of problems running programs on your computer smoothly. Therefore, inserting new and higher capacity RAM sticks or switching from HDD to SSD is much preferable to addressing this situation. However, it's not the cheapest solution you can try to boost the performance of your PCs.
So, what else can you try to get a little extra free RAM space on your system? You probably can't tweak and adjust the RAM power, but you can play with the virtual memory on your device fairly easily. And if you don't know how it works, we'll cover it all for you and show you how to change virtual memory in Windows 10. So stick around and read the article until the end, because not only is this approach going to save your Computer from lagging, but it will also save your hard-earned bucks.
What is Windows 10 Virtual Memory?
Generally, computers have two kinds of RAM, one that you already know, and the other is Virtual Memory. It's not just some kind of stick you can take out of your rig and adjust it. Okay, it can be changed, but the procedures are somewhat different. As we know, when a computer runs a program, it loads files in random access memory because it is much faster than the hard drives on the machines.
On the other hand, virtual memory is simply a secret disk (paging disk) on your hard drive that holds data and files that are not used so much. This helps to hold only the important files on the primary memory so that your computer can quickly handle the tasks without facing any lags or being locked. Also, if the RAM does not have enough capacity to carry the data, the files will be displayed in pagefile.sys.
In most cases, when a computer is running low on virtual memory, it does a pretty decent job of managing it on its own. But, if you're someone who's going through a lot of performance lag, and you get messages like, "Your system is low on Virtual Memory." We 're going to prefer trying to increase your system's virtual memory.
How to increase Virtual Memory in Windows 10
There are many ways to change Virtual Memory on your Windows 10 systems if you want to boost your computer's performance slightly. The crucial thing to note is that these methods are always reversible and can still reset virtual memory at any time if you've actually wanted to add an additional RAM ring.
In order to increase virtual memory, two of the easiest methods you can try on your Windows 10 systems are as follows:
Increasing Virtual Memory using Settings.
Increasing Virtual Memory using Command Prompt.
So, let’s start with our first method.
1. Increasing Virtual Memory using Settings
Although the methods are very simple, you should always follow the appropriate protocol and try not to change any of your device settings unless you have the proper knowledge of it. Because a single wrong action could end up turning your computer screen blue.
Step 1. First of all, open the Start menu from the taskbar.
Step 2. Now, Click on the Settings button.
Step 3. In the Settings menu, find System settings and click on it, then go to About
Step 4. On the main screen, click on the System Info button under the Related Settings
Step 5. Now on the left-hand side panel, click on the Advanced System Settings button.
Step 6. A window will pop-up on the screen, go to the Advanced Tab.
Step 7. Click on the Settings, under the Performance section.
Step 8. Again a new window will pop-up,go to the Advanced Tab.
Step 9. Click on the Change Button from the Virtual Memory section.
Step 10. Uncheck the given option “Automatically manage paging files size for all drives”.
Step 11. Now, click on the Custom Size radio button to set Virtual Memory
Step 12. Enter the Initial size and the Maximum size.
Step 13. Click on the Set button to set the custom size to the Virtual Memory.
Step 14. Click on the OK button to finish up.
Step 15. Finally, reboot the system to apply the changes successfully.
Tip: There is no generalized size to be set as Virtual Memory, as this dimension is special for each device. However, what you can try is to check the memory currently available on your computer. Then put 1.5x of the available memory as the Original then 3x of the available memory as the Total Virtual Memory.
The new settings will be implemented as soon as you reboot the system. But, as we said earlier, these are not permanent changes and you can restore virtual memory at any time. To do this, you will need to follow the same process all the way to Phase 10, and press the "Automatically handle all drive file sizes" button. Only as plain as that!
2. Increasing Virtual Memory using Command Prompt
Step 1: Click on the Start
Step 2: Now, search “Command Prompt”.
Step 3: Open command prompt in Administrator mode.
Step 4: To check the status of the paging file, type the command and press Enter
wmic pagefile list /format:list
Step 5: Next, you have to disable the feature automatically manage the paging file. Type the command and hit Enter
wmic computersystem where name="%computername%" set AutomaticManagedPagefile=false
Step 6: Now, to set the initial and maximum size of the Virtual Memory, type the following command
wmic pagefileset where name="C:\\pagefile.sys" set InitialSize=YOUR-INITIAL-SIZE,MaximumSize=YOUR-MAXIMUM-SIZE
Step 7: Finally, to restart your device enter the following command.
shutdown -r -t 00
Like the previous process, you can easily change the virtual memory in Windows 10 and reset the virtual memory. To do this using the prompt command, all you need to do is follow the same procedure until Step 5 and type true at the last instead of false in the command given in Step 5. Otherwise, you can copy the command below and reboot the system to save the changes.
wmic computersystem where name="%computername%" set AutomaticManagedPagefile=true
Increase Virtual Memory in Windows 7 and XP
Some of your computers may still be operating on 32-bit systems, such as Windows 7 or Windows XP / Vista. We have a easy solution for such an audience to increase the Virtual RAM up to 3 GB. It's not going to be too hard for you to give a new life to that old PC.
Please note that following the correct protocol is a must, otherwise you can end up destroying your machine. Therefore, to be on the safer side, always make a backup of Boot.ini before you pursue these steps.
Steps to backup your original file.
Right-Click on the My Computer icon, and go to Properties.
Go to the Advanced option.
In the Startup and Recovery Section, click on the Settings button
Click on the Edit Button, in the System Startup section,
A file will open in Notepad, hover over the File button, then select Save As
In the Save As window, create a New Folder.
Now, set the folder name as Temp and hit Enter to save.
Open the newly created Temp Folder and Save the Boot.ini file there.
Increase VM on 32-bit Windows XP/Vista versions to 3 GB
To change the Virtual Memory on 32-bit Windows XP/Vista versions to 3GB, we will need to edit the Boot.ini file. Follow the following steps:
Right-Click on the My Computer icon and go to Properties.
In the Startup and Recovery, go to the Advanced Tab and open Settings.
Click on the Edit button in the System Startup section.
A file will open in notepad. Add a space in the last line, and then type /3GB.
Go to File, and Save.
Restart your system to apply the changes.
Increase VM on 32-bit Windows 7 versions to 3GB
Open CMD from Start Menu.
Right-click on it, and select Run as Administrator.
Now, type this command in the cmd prompt, BCDEDIT /set increaseuserva 3072
Close the window.
Restart your computer.
Changing Virtual Memory is definitely a good option in case your system 's performance is slowing down due to less memory space available. You can not, however, change any settings on your device unless you are in desperate need of it. These methods may help you to increase the overall performance of your computer a little bit. But adding extra RAM to your computer is still the best thing you can do to fix this issue properly.