Virtual Memory - Settings and Suggestions (2024)

Virtual memory (also known as a page file) is essentially a block of space on your hard drive or solid state drive allocated by the OS to pretend to be RAM when your physical RAM runs short for actively running programs. It supplies additional "fake" RAM to allow programs to continue functioning, but because HDD and SSD access and performance is much slower than that of actual RAM, noticeable performance loss is usually observed when relying extensively on virtual memory.

Managing virtual memory in a Windows® system is relatively easy, but largely unnecessary. Windows will, by default, adjust virtual memory on the fly based on your needs and your installed RAM. It tries to set itself to what it expects you to need based on your installed RAM and it will adjust itself if your usage spikes. This can lead to it self-adjusting to end up taking a large amount of space if you are currently running a large amount of RAM (for example a system with 8GB of RAM will often default to 8GB of virtual memory and can grow as large as 16GB). Some users will change the virtual memory settings to reduce space being used by their OS on their hard drive or solid state drive because they feel they have sufficient RAM to never need the virtual memory feature of their OS. Users also want to reclaim space that is being "wasted" if virtual memory is not being used, this especially happens with higher cost storage on an SSD.. However, reducing or eliminating your virtual memory to free up drive space carries some risk of causing errors or system instability in cases where you would need more virtual memory but have capped what your system can use.

Increasing this memory setting is also generally not needed. Instances where more virtual memory makes the difference between a program working or not are best solved with a RAM upgrade, as RAM speeds greatly exceed the performance of virtual memory. Your system performance will be reduced compared to improving the dedicated hardware meant to provide this benefit.

Manual adjustments to this setting are done at your own risk, and this should not be attempted unless you have solid guidelines about what you actually need. Under-allocating space for virtual memory can lead to programs or your system as a whole malfunctioning. Additionally, older programs are designed with the assumption there is a page file in place for them to use, and malfunctions of individual programs can occur if adequate virtual memory is unavailable to them due to incorrect configuration.

Detailed instructions for these adjustments in older versions of Windows vary slightly from the instructions below but will still be mostly applicable, as this feature has not changed much since Windows XP.

  1. Enter system properties by either the System link in the System and Security sub-menu of Control Panel or by right-clicking Computerin your start menu and selecting Properties(Windows 7 and earlier only). This will open the window pictured below.
  1. Select Advanced System Settings(link outlined in red numbered 1 in the above screen). This will open a window titled System Properties.

Virtual Memory - Settings and Suggestions (2)

  1. Click the "Settings" button in the performance category (outlined button labeled 2 in the screenshot above). This opens the performance options window.
  2. Navigate to the advanced tab (outlined and labeled 3) then click the change button (outlined and labeled 4). This will open the virtual memory window (outlined and labeled 5), from which any adjustments can be made.

If you disable the 'automatically manage paging file size for all drives', this window will allow you to manually set sizes or size ranges, specify which drive this space is placed on if you have more than one (to free up space on an SSD by moving the page file to a secondary platter hard drive), or disable the feature entirely.

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. Even if you feel you have sufficient RAM to go without this, that change does put you at risk of poorly optimized software, particularly something with a memory leak issue ballooning it's RAM footprint, causing malfunctions later.

©2019 Micron Technology, Inc. All rights reserved. Information, products, and/or specifications are subject to change without notice. Neither Crucial nor Micron Technology, Inc. is responsible for omissions or errors in typography or photography. Micron, the Micron logo, Crucial, and the Crucial logo are trademarks or registered trademarks of Micron Technology, Inc. Windows is a trademark of Microsoft Corporation in the U.S. and/or other countries. All other trademarks and service marks are the property of their respective owners.

Virtual Memory - Settings and Suggestions (2024)

FAQs

What should my virtual memory settings be? ›

You can change this to match the maximum size, or you can increase both beyond the maximum size. 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 should the virtual memory setting be for 16GB RAM? ›

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.

Should you manually set virtual memory? ›

Manual adjustments to this setting are done at your own risk, and this should not be attempted unless you have solid guidelines about what you actually need. Under-allocating space for virtual memory can lead to programs or your system as a whole malfunctioning.

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

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

Should virtual memory be on or off? ›

While it might seem tempting, disabling virtual memory is not recommended. Your operating system relies on the interplay between physical random-access memory (RAM) and virtual memory to manage tasks effectively.

What happens if virtual memory is too high? ›

The virtual machine will run fine, however the programs running natively on the operating system may get swapped to disk and slow down. The operating system will keep going, as it will manage things. If the vm tries to max out it memory, it may get suspended until the other idle programs are swapped out.

Is increasing virtual memory safe? ›

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 paging file size should I set for 16GB RAM? ›

The paging file is typically 1.25 GB on 8 GB systems, 2.5 GB on 16 GB systems and 5 GB on 32 GB systems.

What is the default virtual memory in 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.

Should virtual memory be on C or D? ›

Microsoft advice when setting virtual memory is to enable it on all drives, maybe set to Auto, and Windows will take care of rest. Windows knows speed of each drive and will use them as needed. Eg if C drive is busy it will switch to D drive, etc. For most users setting swap file to Auto is more than enough.

What happens if virtual memory is too low? ›

Your computer running on low virtual memory can cause issues like freezing, stuttering, and even crashing. If this happens while working or running an application, it can even lead to accidental file deletion. In such a situation, always use a data recovery software to safely retrieve your lost files.

Does virtual memory slow down a computer? ›

With virtual memory, program execution depends on memory capabilities that exceed what the underlying hardware can support. This can sometimes lead to system instability, slowdown, or even crash.

What is the best virtual memory setting? ›

Note: Microsoft recommends that virtual memory be set at no less than 1.5 times and no more than 3 times the amount of RAM on the computer. For power PC owners (most UE/UC users), there is likely at least 2 GB of RAM, so the virtual memory can be set up to 6,144 MB (6 GB).

What should my virtual memory be set at 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 should I set my paging file size to? ›

A system managed Page File will be adequate is most use cases, unless you are experiencing problems. 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 much memory should I assign to my virtual machine? ›

A good starting point is to allocate 2 GB for Windows 10 or later desktops. If you want to use one of the hardware accelerated graphics features for 3D workloads, VMware recommends two virtual CPUs and 4 GB of RAM.

Is increasing virtual memory good? ›

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.

Is virtual RAM good for gaming? ›

if there is a shortage of physical RAM memory, increasing Virtual Memory beyond 12GB would not help gaming performance. Even when the Virtual Memory\Page File is on an SSD, and your games will not use the remaining 6.5GB in any case.

Do I need a paging file with 16GB of RAM? ›

For systems with more RAM, you can make the paging file somewhat smaller. You could trim the paging file to 2 GB on a 16 GB system, for example, or to 3.5 GB on a 32 GB system without running into any noticeable performance problems.

Top Articles
Birth Registration and Social Security Numbers
Warren Buffett
Navicent Human Resources Phone Number
How To Start a Consignment Shop in 12 Steps (2024) - Shopify
Jordanbush Only Fans
122242843 Routing Number BANK OF THE WEST CA - Wise
Tesla Supercharger La Crosse Photos
30 Insanely Useful Websites You Probably Don't Know About
Top 10: Die besten italienischen Restaurants in Wien - Falstaff
Lexington Herald-Leader from Lexington, Kentucky
What happens if I deposit a bounced check?
Phenix Food Locker Weekly Ad
Delectable Birthday Dyes
Osrs Blessed Axe
ocala cars & trucks - by owner - craigslist
Bowlero (BOWL) Earnings Date and Reports 2024
Saatva Memory Foam Hybrid mattress review 2024
Zack Fairhurst Snapchat
Grimes County Busted Newspaper
The Weather Channel Local Weather Forecast
Optum Urgent Care - Nutley Photos
Ac-15 Gungeon
Lost Pizza Nutrition
Ecampus Scps Login
Urban Dictionary Fov
Hdmovie2 Sbs
Gillette Craigslist
Kacey King Ranch
Aladtec Login Denver Health
123Moviestvme
Fridley Tsa Precheck
Composite Function Calculator + Online Solver With Free Steps
Today's Final Jeopardy Clue
Wal-Mart 2516 Directory
Mvnt Merchant Services
Cheetah Pitbull For Sale
Mytime Maple Grove Hospital
2023 Fantasy Football Draft Guide: Rankings, cheat sheets and analysis
Executive Lounge - Alle Informationen zu der Lounge | reisetopia Basics
Divinity: Original Sin II - How to Use the Conjurer Class
Lucifer Morningstar Wiki
844 386 9815
Nimbleaf Evolution
Gary Vandenheuvel Net Worth
Copd Active Learning Template
Assignation en paiement ou injonction de payer ?
Phumikhmer 2022
Gameplay Clarkston
Invitation Quinceanera Espanol
What Responsibilities Are Listed In Duties 2 3 And 4
Bloons Tower Defense 1 Unblocked
Latest Posts
Article information

Author: Jerrold Considine

Last Updated:

Views: 5907

Rating: 4.8 / 5 (78 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Jerrold Considine

Birthday: 1993-11-03

Address: Suite 447 3463 Marybelle Circles, New Marlin, AL 20765

Phone: +5816749283868

Job: Sales Executive

Hobby: Air sports, Sand art, Electronics, LARPing, Baseball, Book restoration, Puzzles

Introduction: My name is Jerrold Considine, I am a combative, cheerful, encouraging, happy, enthusiastic, funny, kind person who loves writing and wants to share my knowledge and understanding with you.