How To Manage Virtual Memory (Pagefile) In Windows 10 (2024)

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

Pagefile inWindows 10is 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, orRAM.

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.

How To Manage Virtual Memory (Pagefile) In Windows 10 (1)

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

How To Manage Virtual Memory (Pagefile) In Windows 10 (2)

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

How To Manage Virtual Memory (Pagefile) In Windows 10 (3)

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

How To Manage Virtual Memory (Pagefile) In Windows 10 (4)

  • 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.

How To Manage Virtual Memory (Pagefile) In Windows 10 (5)

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

Stay on the Cutting Edge

Join the experts who read Tom's Hardware for the inside track on enthusiast PC tech news — and have for over 25 years. We'll send breaking news and in-depth reviews of CPUs, GPUs, AI, maker hardware and more straight to your inbox.

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.

More about windows

Microsoft is killing Windows 11's Android emulator -- no one will miss itDev shows off the little red Corvette that designing Windows Zip folders bought, shares details

Latest

Gigabyte X670E Aorus Pro X motherboard review: Striking in white, with lots of USB
See more latest►

32 CommentsComment from the forums

  • derekullo

    Is the chance of getting a PAGE_FAULT_IN_NONPAGED_AREA or KERNEL_DATA_INPAGE_ERROR Blue Screen of Death higher if you use System managed setting?

    Why would you adjust the size of the page file?

    Why would the amount of ram you have present dictate the size you should set your page file to?

    That seems counter intuitive and may even make the system unstable.

    For instance if my computer had 8 gigabytes of ram and I wanted to open a giant 20 gigabyte TIF picture.

    My system might very well crash if we use the logic of 8 gigabyte maximum Virtual memory.

    8 gigabyte ram + 8 gigabyte page file = 16 gigabyte combined maximum

    Reply

  • stdragon

    Adjusting the page file is not the first thing I'd recommend in the event of a BSOD. Reviewing the mini-dump file and logs will illuminate the root cause is most cases. It could be a faulty driver or resource conflict. It could also be hardware related such as bad RAM or incorrect memory timings; an uncorrectable error from a bit flip will cause a kernel panic (which is what a BSOD is)

    Reply

  • Sam Poland

    If it ain't broke, don't fix it.

    "...an optional, hidden system file on a hard disk."

    "...when a lot of physical memory is installed, a page file might not be required to back the system commit charge during peak usage. The available physical memory alone might be large enough to do this."

    https://support.microsoft.com/en-us/help/2860880/how-to-determine-the-appropriate-page-file-size-for-64-bit-versions-of

    Reply

  • klyze

    20903209 said:

    If it ain't broke, don't fix it.

    "...an optional, hidden system file on a hard disk."

    "...when a lot of physical memory is installed, a page file might not be required to back the system commit charge during peak usage. The available physical memory alone might be large enough to do this."

    https://support.microsoft.com/en-us/help/2860880/how-to-determine-the-appropriate-page-file-size-for-64-bit-versions-of

    The appropriate page file size i needed was the exact reason i clicked in the article.. thanks!

    Reply

  • WINTERLORD

    should i disable the page file with 16gb of ram would that improve performance at all

    Reply

  • ex_bubblehead

    20903498 said:

    should i disable the page file with 16gb of ram would that improve performance at all

    Windows requires that a page file be present, otherwise very nasty things will happen when the system runs low on RAM and there is no page file to back it up. If you have 16GB or more RAM then just set it to a static size of 2-4GB and leave it alone. Increase as/if necessary.

    Reply

  • Chesschamp09

    Can you not put a pagefile on a secondary (non-windows) drive (as a second pagefile; from what I understand windows forces you to have at least a small one on your primary windows installation drive)? The virtual memory manager lets you set one up but it doesn't persist between restarts (at least for me). @Winterlord I would say no, unless you really need that drive space.

    Reply

  • USAFRet

    20903498 said:

    should i disable the page file with 16gb of ram would that improve performance at all

    No.
    You need some pagefile.

    Reply

  • USAFRet

    20903508 said:

    Can you not put a pagefile on a secondary (non-windows) drive? The virtual memory manager lets you set one up but it doesn't persist between restarts (at least for me). @Winterlord I would say no, unless you really need that drive space.

    You can, but it serves no purpose.

    You have to balance how much RAM you have vs the drive space, etc.

    For instance...
    Years ago, I had a 120GB SSD for the boot drive and 16GB RAM.
    Letting Windows suck up 8GB or more for the pagefile was unacceptable, due to the small SSD.
    So I set it at 1GB min/max. Worked just fine.

    Now, I have 32GB RAM and a 500GB SSD C drive. Only recently did I change from that original 1GB, to letting Windows manage it. The required drive space is not so much of a matter.

    If you have an SSD for the C drive, you really want the page file on that.
    In the event the OS needs to use the pagefile, why cripple the system by having that on an HDD secondary drive?

    Reply

  • ex_bubblehead

    20903508 said:

    Can you not put a pagefile on a secondary (non-windows) drive (as a second pagefile; from what I understand windows forces you to have at least a small one on your primary windows installation drive)? The virtual memory manager lets you set one up but it doesn't persist between restarts (at least for me). @Winterlord I would say no, unless you really need that drive space.

    Yes, better paging performance can be achieved by placing a paging file on each physical hard drive. The page file on the least busy drive at the time of the paging operation will be used.

    Note: This applies to spinning drives. SSD's are fast enough that only one page file is needed.

    Reply

Most Popular
Password-cracking botnet has taken over WordPress sites to attack using the visitor's browser

By Christopher Harper

TSMC will receive $5 billion incentive from U.S. for Arizona fab: Report

By Anton Shilov

AMD video upscaler arrives for RX 7000 GPU owners yearning for Nvidia's RTX Video

By Aaron Klotz

Raspberry Pi 5-powered cat TV shows bird videos to feline friends

By Ash Hill

MSI details how to make your Intel CPU run cooler without losing performance — recommends disabling CEP

By Zhiye Liu

Startup aims to make CPUs 100x more energy efficient with 'reconfigurable' chips - Efficient Computer reveals Monza chip

By Anton Shilov

MSI Claw handheld PC with Intel Meteor Lake now available -- $699 device targets Steam Deck, ROG Ally

By Christopher Harper

China wants to rid itself of Western tech by 2027 -- outlines domestic alternatives in 'Document 79'

By Aaron Klotz

Steam Deck OLED sees burn-in after 1,500-hour stress test — reducing brightness recommended to avoid damage

By Matthew Connatser

Korean researchers power-shame Nvidia with new neural AI chip — claim 625 times less power draw, 41 times smaller

By Mark Tyson

Gigabyte now offers three-year warranty for its entire QD-OLED monitor range

By Roshan Ashraf Shaikh

How To Manage Virtual Memory (Pagefile) In Windows 10 (2024)

FAQs

How to manage virtual memory pagefile? ›

In the System Properties dialog box, click the Advanced tab and click Performance Options. In the Performance Options dialog, under Virtual memory, click Change. In the Virtual memory dialog box, select a drive. Under Paging file size for selected drive, type new values for initial and maximum sizes for the disk.

What is the best virtual memory paging file size? ›

The Page File should be approximately 1.5 - 2 times the size of your total system memory (RAM). A computer with 4GB of RAM will need a Page File a minimum of 6GB (6144 MB) and a maximum of 8GB (8192MB).

How do I adjust virtual memory in Windows 10? ›

Procedure
  1. Access the System Properties settings. Go to Start > Run. Type sysdm.cpl and click OK. In the System Properties dialog box, click the Advanced tab. Under Performance, click Settings. In the Performance Options dialog box, click the Advanced tab.
  2. Adjust the virtual memory setting.
Apr 19, 2024

How much virtual memory should I set for 16GB RAM? ›

However, with advancements in technology and more efficient operating systems, this rule is not as rigid as it once was. For a system with 16GB RAM, setting the virtual memory between 24GB to 32GB is a good starting point, but adjustments might be needed based on specific use cases.

How do you clean up virtual memory? ›

Open the Registry Editor and go to HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Control > Session Manager > Memory Management. Double-click ClearPageFileAtShutdown. Change the Value_data to 1. Reboot.

How do I fix high pagefile usage? ›

There are three main strategies you might consider with a large paging file: moving it, reducing its size, or deleting it (carefully).
  1. Move pagefile. sys. Moving pagefile. ...
  2. Reduce the size of pagefile. sys. If transferring pagefile. ...
  3. Delete pagefile. sys (don't) ...
  4. Get support for pagefile. sys and more.
Jun 10, 2024

What is the difference between virtual memory and Pagefile? ›

Pagefile. RAM is a limited resource, whereas for most practical purposes, virtual memory is unlimited. There can be many processes, and each process has its own 2 GB of private virtual address space.

How much virtual memory should I set for 8GB RAM? ›

As a rule of thumb, the paging file should be a minimum of 1.5 times the size of your installed RAM, and a maximum of 3 times your RAM size. For example, if you have 8 GB RAM, your minumum would be 1024 x 8 x 1.5 = 12,288 MB, and your maximum would be 1024 x 8 x 3 = 24,576 MB.

What is the virtual memory limit for Windows 10? ›

Therefore, each application has a virtual memory limit of 2 GB, regardless of physical RAM. No process can ever address more than 2 GB of virtual address space by default. Exceeding this limit produces an out-of-virtual-memory error and can occur even when there is plenty of physical memory available.

What is the virtual memory problem in Windows 10? ›

Increasing Virtual Memory in Windows 10

Go to the Start Menu and click on Settings. Type performance. Choose Adjust the appearance and performance of Windows. In the new window, go to the Advanced tab and under the Virtual memory section, click on Change.

How do I monitor virtual memory usage in Windows 10? ›

Virtual Memory or Page File size can be viewed/modified through System Properties > Advanced tab > Performance Settings > Advanced tab > Virtual Memory section (left screenshot, below).

What happens if virtual memory is too high? ›

Virtual Memory - High Usage

This could be slowing down some operations. Some actions that might help performance are: Exit and restart Revit. Specify fewer worksets when opening/saving a file.

Does increasing virtual memory improve performance? ›

Virtual memory is used by your system to expand the available RAM when memory runs low, but it can impact performance. Increasing the size of your virtual memory can help alleviate slowdown issues, but upgrading your RAM is the best solution for improved system speed and performance.

What are the recommended virtual memory settings? ›

Microsoft recommends that you set virtual memory to be no less than 1.5 times and no more than 3 times the amount of RAM on your computer.

How is paging used to manage virtual memory? ›

Paging enables an OS to transfer data between secondary (virtual) and primary (physical) memory. Both storage types are divided into fixed-size blocks. The blocks in primary memory are frames, while those in secondary storage are pages.

How much virtual memory should I set for 32GB RAM? ›

Microsoft recommends that you set virtual memory to be no less than 1.5 times and no more than 3 times the amount of RAM on your computer.

What is the difference between virtual memory and pagefile? ›

Pagefile. RAM is a limited resource, whereas for most practical purposes, virtual memory is unlimited. There can be many processes, and each process has its own 2 GB of private virtual address space.

Top Articles
SWIFT Cross-Border Payments Migration to ISO20022 Benefits
What is an annuity?
Katie Pavlich Bikini Photos
Gamevault Agent
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
Free Atm For Emerald Card Near Me
Craigslist Mexico Cancun
Hendersonville (Tennessee) – Travel guide at Wikivoyage
Doby's Funeral Home Obituaries
Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
Select Truck Greensboro
Things To Do In Atlanta Tomorrow Night
How To Cut Eelgrass Grounded
Pac Man Deviantart
Alexander Funeral Home Gallatin Obituaries
Craigslist In Flagstaff
Shasta County Most Wanted 2022
Energy Healing Conference Utah
Testberichte zu E-Bikes & Fahrrädern von PROPHETE.
Aaa Saugus Ma Appointment
Geometry Review Quiz 5 Answer Key
Walgreens Alma School And Dynamite
Bible Gateway passage: Revelation 3 - New Living Translation
Yisd Home Access Center
Home
Shadbase Get Out Of Jail
Gina Wilson Angle Addition Postulate
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Walmart Pharmacy Near Me Open
Dmv In Anoka
A Christmas Horse - Alison Senxation
Ou Football Brainiacs
Access a Shared Resource | Computing for Arts + Sciences
Pixel Combat Unblocked
Cvs Sport Physicals
Mercedes W204 Belt Diagram
Rogold Extension
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Teenbeautyfitness
Weekly Math Review Q4 3
Facebook Marketplace Marrero La
Nobodyhome.tv Reddit
Topos De Bolos Engraçados
Gregory (Five Nights at Freddy's)
Grand Valley State University Library Hours
Holzer Athena Portal
Hampton In And Suites Near Me
Stoughton Commuter Rail Schedule
Bedbathandbeyond Flemington Nj
Free Carnival-themed Google Slides & PowerPoint templates
Otter Bustr
Selly Medaline
Latest Posts
Article information

Author: Greg Kuvalis

Last Updated:

Views: 5999

Rating: 4.4 / 5 (75 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Greg Kuvalis

Birthday: 1996-12-20

Address: 53157 Trantow Inlet, Townemouth, FL 92564-0267

Phone: +68218650356656

Job: IT Representative

Hobby: Knitting, Amateur radio, Skiing, Running, Mountain biking, Slacklining, Electronics

Introduction: My name is Greg Kuvalis, I am a witty, spotless, beautiful, charming, delightful, thankful, beautiful person who loves writing and wants to share my knowledge and understanding with you.