How to manage virtual memory size on Windows 10?

-

How to manage virtual memory size on Windows 10

Virtual memory is the memory management capability of an OS (Operating System) which uses software and hardware to allow a computer to make up for lack of physical memory by transferring data from RAM to the storage disk. The virtual memory (Pagefile) in Windows 10 is a hidden file system with .SYS extension stored in the system drive (generally the C drive). It allows the system to work smoothly by reducing the workload of the RAM.

Our PCs have a finite amount of RAM, so when you run multiple programs at the same time, it results in memory run out. To counter this, the RAM transfers the data to the hard drive temporarily called the Paging file, which works as a secondary RAM. With this, a system can load larger or multiple programs at the same time with infinite RAM.

The size of the virtual memory can be from 1.5 to 4 times the physical memory (RAM) of your computer. Generally, the system automatically manages the paging file size according to its configuration and RAM. However, while using your PC, if you are noticing slow performance or seeing a message “Your system is low on virtual memory” or getting an error such as KERNEL_DATA_INPAGE_ERROR Blue Screen of Death (BSOD) or PAGE_FAULT_IN_NONPAGED_AREA, then you need to change the default virtual memory manually.

In this guide, we will walk you through to increase the virtual memory size for better system responsiveness. There are two ways to increase the size, one by using the Windows 10 Settings app and other from Command Prompt.

How to increase the virtual memory size on Windows 10 via System Properties?

Follow the below actions to manage the paging file size on Windows 10:

  1. Press Win key + Pause from the keyboard to open System properties.
  2. Click on Advanced system settings link from the left pane.System info
  3. Go to Advanced tab
  4. Now, under “Performance” section click on the Settings button system properties
  5. In the Performance Options window, click on Advanced tab
  6. Click on the Change button in “Virtual memory” sectionperformance options
  7. And on new window uncheck Automatically manage paging file size for all drives.
  8. Select Custom size, then set the Initial and maximum size in MB for paging file and click the Set button.virtual memory
  9. Click the OK button and restart the PC.

After completing the steps, you could see an increase in performance when running multiple programs at the same time.

How to increase Windows 10 virtual memory via Command Prompt?

To manage the paging file size through command prompt, follow the below actions:

  1. Type cmd on Windows search to search for Command Prompt – right-click on it and click on Run as administratorcmd
  2. On Command Prompt, type the following command and press Enter from keyboard to check the status of the paging file:
    wmic pagefile list /format:listpaging file status
  3. Type wmic computersystem where name="%computername%" set AutomaticManagedPagefile=false
    and press Enter to change the virtual memory from automatic manage to custom.auto manage paging file
  4. To set the initial and maximum size type the following command:
    wmic pagefileset where name="C:\\pagefile.sys" set InitialSize=9216,MaximumSize=12288paging file sizeNote: Adjust the initial and maximum size according to your system memory
  5. Now restart your device by typing the following command and hit Enter:
    shutdown -r -t 00

If all the steps are done correctly, the device will restart with the new values of the paging file size, and you could find a slight increase in performance when running multiple apps. It’s recommended to set 1.5 times the available memory for initial and for maximum size 4 times the memory. You can also disable the paging file but it will cause some programs, features stop working which could result in some weird behaviors.

For the latest tech news and updates about technology follow Whooptous on FacebookTwitter, and Pinterest.

Whooptous News Desk
We are a group of Engineers who are tech enthusiasts and like to make people aware of the latest technologies and how it may also help people to enhance and improve life. We dig deep into the below-ground depths of technological understanding, digging up the most vital, behind-the-scenes information. Contact Whooptous staff at [email protected] or by filling the Contact Form.

Follow us

1,465FansLike
1,110FollowersFollow

Trending

Windows 10 black screen

How to fix black screen issue on Windows 10 by troubleshooting connection problems and...

0
On Windows 10, a black screen can take place for a number of factors. It can be connected...
microsoft build 2020

Microsoft Build 2020 Developer Conference from May 19-21

0
Microsoft announced the dates for its flagship event Microsoft Build 2020 developer conference which are going to takes place next year.
Windows 10 optional cumulative update

Optional cumulative update KB4550945 for Windows 10 version 1909 and 1903

0
Microsoft releases new optional patch updates KB4550945 for Windows 10 version 1909 and 1903 following the Patch Tuesday of this month, which is a week ago.
Microsoft flaunts new Windows logo and redesigned app icons- feature image

Microsoft flaunts new Windows logo and redesigned app icons

0
Recently, Microsoft has published a post in Medium about the new Office icons. The company redesigned the icons to cop up with the changing world.

Intel 10th Generation Processors “Comet Lake” Line-up leaked

0
Earlier AMD's Ryzen 7 3000 family, providing a body blow to Intel's whole high-end product stack. The...