How to change virtual memory size on Windows 10 (2024)

How to change virtual memory size on Windows 10 (1)

Jump to:

  • Settings method
  • Command Prompt method

On Windows 10, virtual memory (or paging file) is an essential component (hidden file) designed to remove and temporarily store less frequently used modified pages allocated in RAM (Random-Access Memory) to the hard drive. Using this approach lets the system prioritize faster physical memory for more frequent processes and apps, improving the overall performance and preventing the computer from locking up in the event it runs out of system memory.

In addition, the paging file is important to support crash dumps during a system crash (Blue Screen of Death), as without a large enough page file, a dump with all the contents of the system memory won't be created.

Although the system can manage the paging file size automatically according to various factors, sometimes, you may still need to increase the default virtual memory values manually. For example, when you see the "Your system is low on virtual memory" message. You're noticing slow performance over time, or a particular application requires specific parameters to work correctly.

If the computer has issues with virtual memory, the device doesn't have enough memory, or you're trying to improve the system performance, Windows 10 includes the settings to increase the size of the virtual memory in at least two ways using the Settings app and Command Prompt.

In this how-to guide, I will walk you through the steps to increase the size of the virtual memory to improve Windows 10 responsiveness.

Warning: Although anyone can change the paging file size, using these instructions is only recommended if you have a valid reason and know what you're doing.

How to increase virtual memory form Settings

To adjust the virtual memory size on Windows 10, use these steps:

Get the Windows Central Newsletter

All the latest news, reviews, and guides for Windows and Xbox diehards.

  1. Open Settings.
  2. Click on System.
  3. Click on About.
  4. Click the "Advanced system settings" option under the "Related settings" section.

How to change virtual memory size on Windows 10 (2)

  1. Click the Advanced tab.
  2. Click the Settings button under the "Performance" section.

How to change virtual memory size on Windows 10 (3)

  1. Click the Advanced tab.
  2. Click the Change button under the "Virtual memory" section.

How to change virtual memory size on Windows 10 (4)

  1. Clear the "Automatically manage paging files size for all drives" option.
  2. Select the Custom size option.
  3. Specify the initial and maximum size for the paging file in megabytes.

How to change virtual memory size on Windows 10 (5)

  • Quick tip: The virtual memory size is unique to each device and can't be generalized. However, usually, it's recommended to use a number that's one and a half times the total available memory for the "Initial size" and three times the available memory for the "Maximum size" when possible. You also have to make sure that the device has enough free space to store the new page file.
  1. Click the Set button.
  2. Click the OK button.
  3. Click the OK button again.
  4. Restart your device.

Once you complete the steps, you should notice an increase in performance when navigating Windows 10 as well as when running multiple apps at the same time.

If you need to revert the changes, you can use the same instructions, but on step 10, check the "Automatically manage paging size for all drives" option and restart your device.

How to increase virtual memory from Command Prompt

To modify the paging file size with Command Prompt, use these steps:

  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.
  3. Type the following command to understand the current status of the paging file and press Enter: wmic pagefile list /format:list

How to change virtual memory size on Windows 10 (6)

  1. Type the following command to switch from manage to custom virtual memory and press Enter: wmic computersystem where name="%computername%" set AutomaticManagedPagefile=false

How to change virtual memory size on Windows 10 (7)

  1. Type the following command to set the initial and maximum size of the virtual memory and press Enter: wmic pagefileset where name="C:\\pagefile.sys" set InitialSize=YOUR-INIT-SIZE,MaximumSize=YOUR-MAX-SIZE

This example sets the paging file to "9216" and "12288" megabytes for the initial and maxium size: wmic pagefileset where name="C:\\pagefile.sys" set InitialSize=9216,MaximumSize=12288

How to change virtual memory size on Windows 10 (8)

  1. Type the following command to restart your computer and press Enter: shutdown -r -t 00

After you complete the steps, the device will start using the new values for virtual memory, which, if done correctly, should help to improve system performance.

If you no longer need to use the custom size for virtual memory, you can always revert the changes and allow Windows 10 to manage this feature using this command: wmic computersystem where name="%computername%" set AutomaticManagedPagefile=true and restart the computer.

While it's recommended to use one and a half times the available memory for the initial and three times the memory for the maximum size, make sure to test the changes and adjust the values if you're experiencing freezes, crashes, and other problems.

Although it's possible to disable virtual memory on Windows 10, even when you have a large amount of system memory, it's not recommended to disable this feature. Usually, if you disable paging file, some applications may stop working, some system features may not work efficiently, and you may end up with some weird behaviors.

More resources

For more helpful articles, coverage, and answers to common questions about Windows 10 and Windows 11, visit the following resources:

  • Windows 11 on Windows Central — All you need to know
  • Windows 10 on Windows Central — All you need to know
How to change virtual memory size on Windows 10 (9)

Mauro Huculak

Mauro Huculak has been a Windows How-To Expert contributor for WindowsCentral.com for nearly a decade and has over 15 years of experience writing comprehensive guides. He also has an IT background and has achieved different professional certifications from Microsoft, Cisco, VMware, and CompTIA. He has been recognized as a Microsoft MVP for many years.

How to change virtual memory size on Windows 10 (2024)
Top Articles
Quels sont les principaux risques fournisseurs et comment s'en prémunir ?
Can a Doctor Date a Patient in California? | TONG LAW
Antisis City/Antisis City Gym
Katie Nickolaou Leaving
Average Jonas Wife
Melson Funeral Services Obituaries
Horoscopes and Astrology by Yasmin Boland - Yahoo Lifestyle
Sinai Web Scheduler
Southland Goldendoodles
Youtube Combe
LA Times Studios Partners With ABC News on Randall Emmett Doc Amid #Scandoval Controversy
What Is A Good Estimate For 380 Of 60
Rainfall Map Oklahoma
Current Time In Maryland
Panorama Charter Portal
Byte Delta Dental
Log in or sign up to view
Star Wars: Héros de la Galaxie - le guide des meilleurs personnages en 2024 - Le Blog Allo Paradise
Comics Valley In Hindi
Dumb Money, la recensione: Paul Dano e quel film biografico sul caso GameStop
Bj Alex Mangabuddy
Andhrajyothy Sunday Magazine
Ruben van Bommel: diepgang en doelgerichtheid als wapens, maar (nog) te weinig rendement
Nhl Tankathon Mock Draft
Halo Worth Animal Jam
Iroquois Amphitheater Louisville Ky Seating Chart
Ceramic tiles vs vitrified tiles: Which one should you choose? - Building And Interiors
Ecampus Scps Login
Bay Area Craigslist Cars For Sale By Owner
Bfsfcu Truecar
Street Fighter 6 Nexus
Eaccess Kankakee
Autotrader Bmw X5
MethStreams Live | BoxingStreams
Southern Democrat vs. MAGA Republican: Why NC governor race is a defining contest for 2024
Bt33Nhn
Poster & 1600 Autocollants créatifs | Activité facile et ludique | Poppik Stickers
Bee And Willow Bar Cart
Bismarck Mandan Mugshots
Poe Flameblast
Mohave County Jobs Craigslist
Albertville Memorial Funeral Home Obituaries
Uc Santa Cruz Events
Shuaiby Kill Twitter
Anguilla Forum Tripadvisor
Best Restaurants Minocqua
Pgecom
Ferhnvi
Playboi Carti Heardle
Join MileSplit to get access to the latest news, films, and events!
Walmart Front Door Wreaths
Latest Posts
Article information

Author: Horacio Brakus JD

Last Updated:

Views: 5815

Rating: 4 / 5 (71 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Horacio Brakus JD

Birthday: 1999-08-21

Address: Apt. 524 43384 Minnie Prairie, South Edda, MA 62804

Phone: +5931039998219

Job: Sales Strategist

Hobby: Sculling, Kitesurfing, Orienteering, Painting, Computer programming, Creative writing, Scuba diving

Introduction: My name is Horacio Brakus JD, I am a lively, splendid, jolly, vivacious, vast, cheerful, agreeable person who loves writing and wants to share my knowledge and understanding with you.