Should I Change My Microsoft Windows Page File Size? (2024)

Updated: 08/31/2020 by Computer Hope

Should I Change My Microsoft Windows Page File Size? (1)

No. We highly recommend all users let Microsoft Windows choose the best initial, maximum, and minimum settings for their virtual memory (page file). Disabling or setting the page file size too small can reduce system performance and cause instability and crashes in Windows.

What if I doubled or tripled the page file size?

Increasing page file size may help prevent instabilities and crashing in Windows. However, hard drive read/write times are much slower than what they would be if the data were in your computer memory. Having a larger page file is going to add extra work for your hard drive, causing everything else to run slower.

Page file size should only be increased when encountering out-of-memory errors, and only as a temporary fix. A better solution is to adding more memory to the computer.

I have plenty of RAM, should I disable the page file?

No, the page file is what helps keep your computer stable. Although you may think there is enough memory in your computer to handle all the programs it runs, you can still exceed that limit, which may cause program errors and system crashes. Some programs also rely on there being a page file. If the page file is missing or not available, the computer gets random errors or the programs will not work.

Should I disable the page file so it can be defragged?

Many people recommend disabling the page file so that it can be defragged. While it is true that Windows Defrag will not defrag any file in use, there are Defrag utilities capable of performing this task. For earlier versions of Windows (Windows XP, NT 4.0, 2000, and Server 2003) we recommend PageDefrag, which defrags locked files including the page file as the computer boots into Windows. Later versions of Windows no longer support this utility.

I read the page file size should be 1.5x or 2x the amount of memory installed

There are hundreds of online sites and optimization pages that claim the page file size should be 1.5x, 2x, or something similar to the amount of memory installed on your computer. However, this does not take into consideration other important factors and system settings unique to your computer. Again, let Windows choose what to use instead of relying on some arbitrary formula that worked on a different computer.

Ok, but should I put the page file on another partition or drive?

On a different partition

No. Storing the page file on a different partition of the same drive as Windows increases the hard drive seek times and reduces system performance.

On a different drive

Configuring your page file to be located o n a different drive or partition may deliver a slight increase in performance. If you plan on putting the page file on a separate drive, create a partition large enough for it and only keep the page file in that partition. For almost every Windows user, we still recommend letting Windows manage the page file on the primary drive.

I have an SSD, should I use a non-SSD for a page file?

There are people who suggest using an HDD as a second drive for a page file, reducing the overall read/writes done to the SSD, and extending its life. However, today's SSD are rated to transfer 20 GB+ of data daily for 5-years and often have an MTBF of 1,000,000 hours. Moving the page file to a slower hard drive can cause the computer to have to wait for the slower HDD to catch up to the SSD.

How about putting the page file on a USB flash drive or hard drive?

No, again this reduces the system performance. While it is true the access times on flash memory can be faster than a hard drive, the transfer speeds over USB are much slower.

How do I see how much my page file uses?

See viewing Windows virtual memory or page file settings for further information about accessing this information.

I still want to change the page file settings

Before changing your page file settings, make a note of the current settings so that you can change it back later if your computer is not performing well.

Ha! I've changed my page file and have seen improved performance

Great! It's not uncommon to experience a system performance increase after changing the page file size or disabling the page file. However, as mentioned above, doing so may decrease the overall stability of the computer. So, it's a good idea to be prepared to revert the changes if necessary.

How do I change, recreate, recover the page file back to default settings?

Open the virtual memory settings and under the Change option check the "Automatically manage paging file size for all drives" or "System managed size" depending on your version of Windows. Reboot the computer after changing the settings. If you are having trouble starting Windows, boot it into Safe Mode.

Should I Change My Microsoft Windows Page File Size? (2024)

FAQs

Should I Change My Microsoft Windows Page File Size? ›

No. We highly recommend all users let Microsoft Windows choose the best initial, maximum, and minimum settings for their virtual memory (page file). Disabling or setting the page file size too small can reduce system performance and cause instability and crashes in Windows.

Is it okay to change paging file size? ›

You should avoid altering the paging file on 32-bit systems, however. You can minimize the size of the paging file using the following steps: Open System Properties. Right-click the Start button, select Control Panel > System and then click Change Settings.

How big should Windows page file be? ›

Your paging file size should be 1.5 times your physical memory at a minimum and up to 4 times the physical memory at most to ensure system stability.

Should I let Windows manage paging file? ›

We recommend that you either allow the system to manage the page file size or to set it at 150% of the size of the physical RAM. Click OK, and then restart the computer to apply the changes.

What happens if the page file is too big? ›

Otherwise known as 'virtual memory', a huge pagefile. sys can indicate that it might be time to upgrade the system's RAM and that virtual memory is being relied on too heavily. Virtual memory is only used when RAM reaches its limits and only the least-used data that are typically held in RAM is sent there, usually.

What happens if paging file is too small? ›

If your pagefile is too small, you may get a memory. dmp file, but Debugging Tools for Windows won't be able to read it.

How much pagefile for 8gb RAM? ›

On computers that have 8 GB of RAM, the suggested paging file size is 16 GB.

Is page file necessary in Windows 10? ›

A page file is required to ensure that the database cache can release memory if other services or applications request memory.

Is it safe to increase virtual memory? ›

Allocating too little HDD space for virtual memory can result in a computer running out of RAM. If a system continually needs more virtual memory space, it may be wise to consider adding RAM. Common OSes may generally recommend users not increase virtual memory beyond 1 ½ times the amount of RAM.

What is the best virtual memory setting for Windows 10? ›

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. For power PC owners (like most UE/UC users), you likely have at least 2GB of RAM so your virtual memory can be set up to 6,144 MB (6 GB).

Does paging slow down a computer? ›

Increasing page file size may help prevent instabilities and crashing in Windows. However, hard drive read/write times are much slower than what they would be if the data were in your computer memory. Having a larger page file is going to add extra work for your hard drive, causing everything else to run slower.

What is the purpose of Windows page file? ›

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.

What happens if I remove paging file? ›

If you delete Pagefile. sys and your computer runs out of physical memory, your system will start to become sluggish. If the sluggishness gets too bad, Windows itself might even crash. Also, you might notice some apps becoming slower or crashing as well.

Why does my Windows page file keep growing? ›

If the page file keeps growing, it is possible that there is some program running that has a memory leak. Although it isn't the ideal tool for it, you could use Task Manager to see if some process is using an exorbitant amount of memory.

What causes page file to grow? ›

The most likely cause of the Pagefile growing beyond the configured setting is if the system's paging file requirements exceed the current setting and the virtual memory of the system is depleted.

How do I clean up a page file? ›

How to delete the pagefile. sys file in Windows 10
  1. Open File Explorer and right-click Computer.
  2. Select Properties.
  3. Click on Advanced system settings (Figure A).
  4. Click the Settings button under the Performance section and then click the Advanced tab. ...
  5. Click OK a couple of times to close those screens.
Apr 19, 2019

Is it better to have no paging file? ›

The vast majority of users should never disable the pagefile or mess with the pagefile settings – just let Windows handle the pagefile and use the available RAM for file caching, processes, and Superfetch.

What should page size be in paging? ›

Pages are typically 512 to 8192 bytes, with 4096 being a typical value.

How big is 16gb RAM virtual memory? ›

The initial size would be 1.5 x 4,096 = 6,144 MB and the maximum size would be 3 x 6,144 = 18,432 MB.

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

Windows sets the initial virtual memory paging file equal to the amount of installed RAM. The paging file is a minimum of 1.5 times and a maximum of three times your physical RAM.

What size pagefile for 128gb RAM? ›

Don't disable page file even if you have 128 GB of memory or more. Set it at the very least to a fixed size, 256-512 MB or so should be enough.

Do you need a pagefile with 64GB of RAM? ›

Anything over 32GB of ram doesn't need a page file at all. I ran 64GB without and used an 8GB ram drive for all the various temp files created during Software Installs and such but never had need for the page file.

Can you run Windows without a page file? ›

People have tested this theory and found that, while Windows can run without a page file if you have a large amount of RAM, there's no performance benefit to disabling the page file. However, disabling the page file can result in some bad things.

What is the best virtual memory setting 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 happens if I disable paging file in Windows 10? ›

It is a widely spread myth that disabling the paging file improves performance. In fact it is able only to make idling apps open faster. But at the same time you can provoke different apps to crash or generate errors. So, it is not recommended to disable it completely.

Why is it better to get RAM instead of virtual memory? ›

Understanding RAM

If your computer is running slowly due to a lack of RAM, you might be tempted to increase virtual memory because it is less expensive. However, adding RAM is a better solution because your processor can read data from RAM faster than from a hard drive.

What happens if virtual memory is too low? ›

The computer uses virtual memory to augment the ordinary RAM that is installed on the computer. If you reduce the size of the paging file, the Office program may not start correctly or may not start at all. This behavior may occur even if the computer has lots of RAM.

What is the benefit of increasing virtual memory Windows 10? ›

It allows some memory to be swapped to disk, or pages to a memory mapped file. This means you are limited by the size of your disk space instead of your main memory.
...
Case 1:
  • void *anon = mmap(
  • NULL, PAGE_SIZE,
  • PAGE_READ | PAGE_WRITE,
  • MAP_PRIVATE | MAP_ANONYMOUS,
  • -1, 0.
  • );

What is the default virtual memory size in Windows 10? ›

In the default Windows configuration, 2 gigabytes (GB) of this virtual address space are designated for the private use of each process, and the other 2 GB is shared between all processes and the operating system.

How much RAM do I need for Windows 10 virtual machine? ›

64-bit Processor with Second Level Address Translation (SLAT). CPU support for VM Monitor Mode Extension (VT-x on Intel CPU's). Minimum of 4 GB memory.

How should I configure my virtual memory settings? ›

Tuning your Windows virtual memory settings
  1. Click Start > All Programs > Control Panel > System > Advanced > Performance > Settings > Advanced > Virtual Memory.
  2. Click Change.
  3. In the Maximum size field, set the value to the recommended value shown at the bottom of the window.

What is the disadvantage of paging? ›

Disadvantages of Paging

Paging causes internal fragmentation on older systems. Longer memory lookup times compared to segmentation. It may cause internal fragmentation. Page tables consume additional memory.

What slows down a computer the most? ›

Your storage drive and memory (RAM) are the two key pieces of hardware most related to the speed of your computer. A dated storage drive will slow down your performance, even when defragmented, while too little memory offers limited resources to run multiple programs.

What is the recommended paging file size for Windows 10 4GB? ›

The paging file is a minimum of 1.5 times and a maximum of three times your physical RAM. You can calculate your paging file size using the following system. For example, a system with 4GB RAM would have a minimum of 1024x4x1. 5=6,144MB [1GB RAM x Installed RAM x Minimum].

Why is page file usage high? ›

If the system determines that pages need to go to the page file because you have insufficient memory available, there is not anything you can do. It has to page. If you know that the application would run better with more memory, and you cannot get more memory, you will need to live with the high page file usage.

How do I reset a Windows page file? ›

To configure Windows to clear the paging file on shutdown via the registry:
  1. Open Regedit.
  2. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager.
  3. Create a DWORD value named ClearPageFileAtShutdown and set its value to 1.
Feb 21, 2021

Is it OK to clear Pagefile at shutdown? ›

The biggest reason you'd want pagefile. sys cleared is to get rid of any sensitive data it contains. Just keep in mind that this can make the shutdown process a little slower if the file is large.

Does Pagefile shrink automatically? ›

When the commit charge return to normal the pagefile will shrink, if that is possible. It may not be. If data was written to the end of the extended pagefile and was not freed by whatever allocated the memory then the pagefile cannot be shrunk down.

Is it OK to disable paging file? ›

The big problem with disabling your pagefile is that once you've exhausted the available RAM, your apps are going to start crashing, since there's no virtual memory for Windows to allocate—and worst case, your actual system will crash or become very unstable.

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.

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

You want to do very little swapping. Some extra virtual memory can allow bloated portions of the OS to stay on disk largely unused,however virtual memory more than 2x that of main memory is a waste if disk space. So for16 GB, no more than 32 GB.

What happens if I increase virtual memory in Windows 10? ›

Is it Safe to Increase the Virtual Memory above the recommended and will it improve Performance? ) that increasing the Virtual Memory from Advanced System Settings on Windows 10 will improve the performance.

What is the recommended virtual memory size for 8gb RAM Windows 10? ›

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.

Why does Windows use Pagefile instead of RAM? ›

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.

What is the best paging file size for 4GB RAM? ›

The paging file is a minimum of 1.5 times and a maximum of three times your physical RAM. You can calculate your paging file size using the following system. For example, a system with 4GB RAM would have a minimum of 1024x4x1. 5=6,144MB [1GB RAM x Installed RAM x Minimum].

What is a good virtual memory size for Windows 11? ›

Microsoft recommends "3 × RAM or 4 GB, whichever is larger," which will protect your system from instability when you do use your paging file. However, Windows' automatic paging file management might decide otherwise, so it's typically best to let the operating system figure things out for itself.

How do I set virtual memory for best performance? ›

Tuning your Windows virtual memory settings
  1. Click Start > All Programs > Control Panel > System > Advanced > Performance > Settings > Advanced > Virtual Memory.
  2. Click Change.
  3. In the Maximum size field, set the value to the recommended value shown at the bottom of the window.

Should I put Pagefile on SSD? ›

Some “experts” suggest leaving the Page File on the SSD to maximize system performance while others suggest placing it on an installed hard drive (if one is present of course) in order to maximize the life of the SSD.

Does Windows 10 need a pagefile? ›

A page file is required to ensure that the database cache can release memory if other services or applications request memory.

Is 16gb RAM enough for daily use? ›

16 GB RAM. To meet the demands of modern software, 16 GB of RAM is what most people will need. This amount will help strike a good balance between running standing and resource-hungry apps on your computer. So if you're prone to opening lots of tabs in Google Chrome, you find that your computer will barely complain.

Top Articles
Latest Posts
Article information

Author: Domingo Moore

Last Updated:

Views: 6193

Rating: 4.2 / 5 (73 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Domingo Moore

Birthday: 1997-05-20

Address: 6485 Kohler Route, Antonioton, VT 77375-0299

Phone: +3213869077934

Job: Sales Analyst

Hobby: Kayaking, Roller skating, Cabaret, Rugby, Homebrewing, Creative writing, amateur radio

Introduction: My name is Domingo Moore, I am a attractive, gorgeous, funny, jolly, spotless, nice, fantastic person who loves writing and wants to share my knowledge and understanding with you.