Turn off virtual memory Windows 10

  1. Home
  2. News

This tutorial was written by Tom's Hardware Community member viveknayyar007. You can find a list of all their tutorials here.

Pagefile in Windows 10 is a hidden system file with the .SYS extension that is stored on your computer’s system drive (usually C:\). The Pagefile allows the computer to perform smoothly by reducing the workload of the physical memory, or RAM.

Simply put, every time you open more applications than the RAM on your PC can accommodate, the programs already present in the RAM are automatically transferred to the Pagefile. This process is technically called Paging. Because the Pagefile works as a secondary RAM, many times it is also referred to as Virtual Memory.

The minimum and maximum size of the Pagefile can be up to 1.5 times and 4 times of the physical memory that your computer has, respectively. For example, if your computer has 1GB of RAM, the minimum Pagefile size can be 1.5GB, and the maximum size of the file can be 4GB.

By default, Windows 10 automatically manages the Pagefile according to your computer’s configuration and the RAM present in it. However, if you ever face lagging while working on Windows 10, or you start getting the PAGE_FAULT_IN_NONPAGED_AREA or KERNEL_DATA_INPAGE_ERROR Blue Screen of Death (BSOD), managing the size of the Pagefile manually is the first thing you should look for.

Managing the Pagefile size manually in Windows 10 is simple. Here is how:

  • Use an administrator account to log on to Windows 10.
  • From the desktop screen, right-click the Start button to open its context menu.

  • Click System.
  • From the left pane of the System window, click Advanced system settings.

  • On the System Properties box, ensure that you are on the Advanced tab.
  • Click the Settings button from under the Performance section.

  • On the Performance Options box, go to the Advanced tab.
  • Click the Change button from under the Virtual memory section.

  • On the Virtual Memory box, uncheck the Automatically manage paging file size for all drives checkbox.
  • From the available list, click to select the drive on which Windows 10 is installed. (C: in most cases.)
  • From below the list, click to select the Custom size radio button.
  • In the now-enabled fields, type the minimum and maximum size of the Pagefile in megabytes (MB) according to the physical memory present in your computer.

  • Click Set and then click OK.
  • Restart your computer when you're done.

Get instant access to breaking news, in-depth reviews and helpful tips.

The Tom's Hardware forum community is a powerful source of tech support and discussion on all the topics we cover from 3D printers, single-board computers, SSDs, and GPUs to high-end gaming rigs. Articles written by the Tom's Hardware Community are either written by the forum staff or one of our moderators.

Should I turn off virtual memory?

While some users do shut off automatic management, or virtual memory features as a whole, our official recommendation is to leave it in place. If you are comfortable reducing the size based on your usage that can be done safely, but disabling this entirely is not necessarily safe.

Is it OK to disable virtual memory Windows 10?

The same goes for windows 10 and 11. Therefore, I can conclude that disabling virtual memory really improves performance. Whatever is written to the file, the SSD is slower than RAM and if there is enough of it, why use virtual memory.

Can you turn off virtual memory?

Choose the Advanced tab in the Performance Options dialog, and click the Change… button in the Virtual Memory section. In the Virtual Memory dialog, uncheck the “Automatically manage paging file size for all drives”.

Why is my PC using virtual memory?

Virtual memory is a common technique used in a computer's operating system (OS). Virtual memory uses both hardware and software to enable a computer to compensate for physical memory shortages, temporarily transferring data from random access memory (RAM) to disk storage.