How to Change Virtual Memory Size on Windows 11/10?

Adjusting Virtual Memory on Windows 11/10: A Comprehensive Guide

Virtual memory, also known as the paging file, stands as a cornerstone of the Windows 11/10 operating system. Though obscured from the average user’s view by default, its importance cannot be understated. Functioning as a safety net, virtual memory operates by temporarily relocating less frequently accessed or modified files from the RAM to the hard drive. This strategic move, orchestrated by Windows, ensures that the swifter physical memory is reserved for crucial processes and applications. The result? Enhanced system performance and a safeguard against potential system lock-ups due to RAM shortages. With time, if you observe a dip in your system’s speed or encounter messages such as “Your system is low on virtual memory,” it might be an indication to reconsider the size of your virtual memory. Thankfully, Windows 11/10 provides flexibility in adjusting the virtual memory size. Whether through the user-friendly Settings app or the powerful Command Prompt, users can increase their system’s virtual memory, paving the way for optimized performance. In this guide, we will delve into the methods to adjust the virtual memory size on Windows 11/10, ensuring a seamless computing experience.

How to Increase Virtual Memory on Windows 11 using the Settings app?

You need to follow the below-given steps to grow the virtual memory on Windows 11 using the Settings app:-

Step 1. Press Windows + I keys from the keyboard to open the Settings app.

Step 2. Click on the System category from the left sidebar of the Windows Settings.

Settings-System-1

Step 3. From the right-side pane of the System, click on About.

Settings-System-About

Step 4. After that, click on the link labeled Advanced system settings.

Settings-System-About-Advanced-system-settings

Step 5. Then, navigate to the Advanced tab when the System Properties pop-up window appears.

System-Properties

Step 6. Click on the System button under the Performance section.

Step 7. Next, switch to the Advanced tab.

Performance-Options

Step 8. Under the “Virtual memory” section, click on the Change button.

Step 9. It would help if you unchecked Automatically manage the paging file size for all drives.

Virtual-Memory

Step 10. After that, select the Custom size option.

Step 11. Here, you must enter the initial and maximum size for the paging file in megabytes (MB).

Virtual-Memory-set

Step 12. Click on the Set button.

Step 13. After that, click on OK.

Step 14. Now click the OK button again.

Step 15. Finally, reboot your computer or laptop to apply the changes.

Windows OS will use the custom virtual memory (page file) that you have specified and should increase the overall performance.

It is recommended to use one and a half times the total available memory (RAM) for the “Initial size” and three times of available memory for the “Maximum size,” if possible. One should note that the virtual memory size is unique for each device.

How to Increase Virtual Memory Using Settings on Windows 10?

Follow these steps to increase Virtual Memory using Settings on Windows 10:-

Step 1. You need to open the Settings app.

Step 2. Click on the System under the Windows Settings application.

Settings-2B-System

Step 3. Then, click on the About in the left sidebar.

Settings-System-About-Advanced-system-settings

Step 4. After that, click on the Advanced system settings from the right of About.

Step 5. Next, you need to click on the Advanced tab from the System Properties pop-up window that appears.

System-Properties-Windows-10

Step 6. Check the Settings button from the Performance section.

Step 7. Then, navigate to the Advanced tab from the new pop-up window.

Performance-Options-1

Step 8. After that, click on the Change button under the Virtual memory section.

Step 9. Next, from the new pop-up window, uncheck the option “Automatically manage paging file size for all drivers” and then click on the Custom size radio button.

Virtual-Memory-Windows-10

Step 10. You need to enter the initial and maximum sizes in MB. Usually, it’s recommended to set one and a half times the total available memory for the “Initial size” and three times of available memory for the “Maximum size” when possible.

Virtual-Memory-set-on-Windows-10

Step 11. Now, click on the Set button.

Step 12. After that, click on the OK button.

Step 13. Finally, click the OK button again to complete the process.

How to Increase Virtual Memory on Windows 11/10 using Command Prompt?

You need to follow the below-given steps to increase virtual memory on Windows 11/10 using Command Prompt:-

Step 1. It would be best if you opened the Command Prompt with administrative privileges.

Step 2. Next, type the following command line in the elevated command prompt, and press Enter from the keyboard to view the current status of virtual memory:-

wmic pagefile list /format:list

check-paging-file-using-command-prompt-1024x736

Step 3. Now, type the following command line to switch from manage to custom virtual memory, and hit Enter from the keyboard.

wmic computersystem where name="%computername%" set AutomaticManagedPagefile=false

custom-virtual-memory-1024x677

Step 4. Lastly, type the following command to set the initial and maximum size of the virtual memory and press Enter from the keyboard:-

wmic pagefileset where name="C:\\pagefile.sys" set InitialSize=YOUR-INIT-SIZE,MaximumSize=YOUR-MAX-SIZE

For example, to set the paging file to initial to “9216” and maximum size to “13364”, issue the following command:-

wmic pagefileset where name="C:\\pagefile.sys" set InitialSize=9216,MaximumSize=13364

page-file-updated-1024x677

Step 5. Next, you need to restart your computer to see the result.

Your PC will start using the new values for virtual memory and should help to improve system performance when the above steps are complete.

If you no longer need to use the custom size for virtual memory, you can always revert the changes on Windows 11/10. For that, you need to use the following command:-

wmic computersystem where name="%computername%" set AutomaticManagedPagefile=true

Then, press Enter from the keyboard and restart your PC.

Conclusion

Virtual memory acts as an extension of the computer’s physical memory, playing a critical role in enhancing system performance. On Windows 11/10, users have the flexibility to adjust virtual memory size either through the user-friendly Settings app or via the powerful Command Prompt. Following the above-explained methods allows users to tackle potential performance hiccups, ensuring a smooth computing experience. Regular monitoring and understanding when to adjust this memory can keep your system running efficiently.

Neelam Yadav
Neelam Yadavhttps://risewindows.com
I am a tech lover and love to explore new techonology.
RELATED ARTICLES

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

How to Reset Sound Drivers on Windows 11?

Sound issues on a computer can stem from various problems, but one common culprit is often outdated or corrupted sound drivers. These drivers, responsible...

How to Open Command Prompt as Administrator on Windows 11/10/8/7?

Command Prompt, often abbreviated as cmd, has been an integral tool for Windows users since the early days of the operating system. Whether you're...

How to Turn on the UWP File Explorer on Windows 11?

Navigating the intricate digital ecosystem of Windows, you might have stumbled upon the term UWP or Universal Windows Platform. This is Microsoft's evolution for...

How to Enable or Disable IPv6 on Windows 11 or 10?

In the dynamic world of the Internet, staying updated with the latest technology is essential. Internet Protocol version 6 (IPv6) is the newest version...

How to Enable or Disable IPv4 on Windows 11 or 10?

IPv4 (Internet Protocol version 4) is the predominant protocol used for transmitting data over the vast networks of our modern digital age. Serving as...