How to Reset Virtual Memory in Windows 10/11? [2 Easy Ways!] (2024)

There is nothing more frustrating than having your programs crash or slow down, resetting a Windows Virtual Memory is a simple fix

Are you also experiencing slowdowns and lags in Windows 10 or 11 and looking for a way to reset yourvirtual memory, also known as a pagingfile?

Memory managementis handled efficiently by the Windowsoperating system, however, if you find out thatvirtual memoryis not functioning properly, you may need to reset it manually.

Resetting avirtual memoryis a simple process that can be done in a few steps easily in both Windows 10 and Windows 11.

Table of Contents

How to Reset Virtual Memory in Windows 10?

There are several ways to reset a pagingfile(virtual memory) but, we’ll discuss only two methods which are short and easy too.

Let’s have a look at these methods:

  1. UsingWindows Settings
  2. Using command prompt

Now, we’ll explore these two methods step-by-step individually.

Method 1:Reset Virtual MemoryUsing Settings

Windowsoperating systemhandlesvirtual memoryitself to improve the system’s overall performance, however, it provides you a facility to manually changevirtual memorysize (or paging file size) as well, thanks to Microsoft.

You have to follow the given steps in order toreset virtual memoryin Windows 10:

Step 1: Navigate toSystem Properties

Go to your Windows desktop.

Then, right-click onThis PCand selectProperties:

How to Reset Virtual Memory in Windows 10/11? [2 Easy Ways!] (1)

Alternatively, you can type “System” in theWindows searchbar and select “System” from the list of results.

Moreover, you can also usethe Control Panelto opensystem properties. To do this, openthe Control Panel> System and Security > System.

Step 2: Open Advanced System Setting

Now, click on theAdvanced system settingslocated at the right sidebar or at the bottom of the page:

How to Reset Virtual Memory in Windows 10/11? [2 Easy Ways!] (2)

Alternatively, you can type “advanced system settings” in theWindows searchbar and select “Viewadvanced system settings” from the list of results.

Inthe advancedtab, click onSettingsunderthe Performancesection:

How to Reset Virtual Memory in Windows 10/11? [2 Easy Ways!] (3)

Step 3: Reset theVirtual MemorySettings

Now, coming to our next and main step which is to reset thevirtual memory size.

In the Performance Options window, go tothe Advancedtab:

How to Reset Virtual Memory in Windows 10/11? [2 Easy Ways!] (4)

Then, click onChangeunder theVirtual Memorysection:

How to Reset Virtual Memory in Windows 10/11? [2 Easy Ways!] (5)

First, uncheck theAutomatically managepaging file sizefor all drivesoption and click on theCustom sizeradio button:

How to Reset Virtual Memory in Windows 10/11? [2 Easy Ways!] (6)

Now, you have to enter theInitial and Maximum size(in MB). It is fine to enter theinitial sizethe same as the recommended size. For instance, 1905 MB is recommended size in my case (this size will be different in your case) so, I’ll setthe initial sizeto 1905 MB.

As far as the maximum size ofa page fileis concerned, Microsoft recommends at least one and a half times (1.5 times) the size of yourphysical memory(RAM). For example, if you have 4 GB of RAM, the maximum size ofvirtual memoryshould be at least 6 GB (4 x 1.5) which is 6,144 (6 x 1024) in MBs.

For 16 GB RAM, you should set the maximum virtual memory size to 24 GB which is 24,576 in MBs. Similarly, for 32 GB RAM and Windows 11 users, you should set the maximum virtual memory limit to 48 GB which becomes 49,152 MBs.

Note:The maximum size should not exceed 3 times the size of your installed RAM.

Once you set limits, click onSetand then, hit theOkbutton:

How to Reset Virtual Memory in Windows 10/11? [2 Easy Ways!] (7)

To disable virtual memory, you need to select the no paging file radio button in the Virtual Memory settings, however, it’s not recommended as it can cause various system performance issues.

Step 4: Restart Your System

Now, you’ll need to restart or reboot your system for the changes to take effect.

After restarting your PC, you’ll notice improvements in performance especially when working with large files and multitasking.

In case you notice lags or crashes after this process, you can follow the above steps to revert the changes.

So, this is an entire procedure to reset or changevirtual memoryin Windows 10 in a few steps. From now on, multitasking won’t be a problem for you. And, you can easilyfix Windowspagingfileissues too.

Whenever you havelow virtual memory, you can increase its size by following this same procedure.

Method 2:Reset Virtual MemoryUsing Command Prompt

You can also use CMD to reset paging size and you just need to type a few commands to perform this task.

Follow the given steps to reset Virtual Memory in Windows 11 or Windows 10 using the command prompt:

  • First, click on the WindowsStartbutton
  • Type “CMD” in theWindows searchbar and runthe command promptas an administrator from the list of results:
How to Reset Virtual Memory in Windows 10/11? [2 Easy Ways!] (8)
  • Typethe following command andpressEnter. Upon executing the following command, you can check the currentvirtual memoryin Windows 10 or 11:
wmic pagefile list /format:list
How to Reset Virtual Memory in Windows 10/11? [2 Easy Ways!] (9)
  • After that, type the following command andpressEnter. This command will switch from automatically manage paging file size to custom management.
wmic computersystem where name="%computername%" set AutomaticManagedPagefile=false
How to Reset Virtual Memory in Windows 10/11? [2 Easy Ways!] (10)
  • Then, copy and paste the following command andpressEnter. Replace “XXXX” with the desired size in megabytes for both the initial and maximum sizes.
wmic pagefileset where name="C:\\pagefile.sys" set InitialSize=XXXX,MaximumSize=XXXX

For instance:

wmic pagefileset where name="C:\\pagefile.sys" set InitialSize=1905,MaximumSize=12288

The above example sets theinitial page file sizeto 1905 MB and the maximum size to 12288 MB.

  • Once you execute this command, you’ll need to restart your computer for the changes to take effect. Thepaging file sizelimits will be changed once the system is rebooted.

Note:Setting the initial and maximum size properly will also help reduce the chances of system crashes and lags.

After following this process, you should observe improvements because your system will continue to operate smoothly and will prevent crashing due to a lack ofphysical memory(Random Access Memory).

This is how you can reset your Windows 10 or Windows 11virtual memoryeasily.

How toClear Virtual Memoryin Windows 10/11?

Resetting avirtual memorymeans either clearing thevirtual memoryor manually changing it again.

To clear thevirtual memoryin Windows 10 and Windows 11, follow the given procedure:

PressWindows+ Rkeys together to open the run dialog box.

Typegpedit. mscin the open field and click onOKto open the Group Policy Editor:

How to Reset Virtual Memory in Windows 10/11? [2 Easy Ways!] (11)

Navigate toLocal Computer Policy>Computer Configuration>Windows Settings:

How to Reset Virtual Memory in Windows 10/11? [2 Easy Ways!] (12)

Go toSecurity Settings>Local Policies>Security Options:

How to Reset Virtual Memory in Windows 10/11? [2 Easy Ways!] (13)

In security options, find and double-click onShutdown:Clear virtual memorypagefile:

How to Reset Virtual Memory in Windows 10/11? [2 Easy Ways!] (14)

Click on theEnabledoption and then, hitApplybutton:

How to Reset Virtual Memory in Windows 10/11? [2 Easy Ways!] (15)

Now, every time you Shutdown your system, thevirtual memorywill be cleared automatically.

So, in this way, you can free upvirtual memoryorvirtual RAMeasily. There is also aregistry editormethod that can be used for this task, but this is an easier method.

Why Does Windows UseVirtual Memory Concept?

Virtual Memoryis one of the important features ofthe operating systemthat allows it to use moresystem memorythan it physically has. But how? This goal is achieved by using a portion of yourhard driveas a temporary storage space when thephysical RAMis full in order to improve the overallsystem performance.

When a system runs out ofphysical memoryor RAM, it temporarily transfers data from the RAM to a space on thehard drivecalled the pagingfileorvirtual memory. It’s actually thedisk spaceon yourhard drive. Solid-state drives (SSDs) perform better since they are fast. This allows the computer system to continue runningsmoothlyandeffectively.

Note:You can check yourrandom accessmemory(RAM) usageanddisk usageinthe task managerperformance tab.

Virtual memoryis particularly useful when dealing with large programs that require morememorythan the computer can physically provide. Due to thevirtual memoryfeature, you arerunning heavy gameson a limited amount of RAM.

In short, virtual memory compensates for a shortage of physical memory (RAM). The operating system itself handles it efficiently, however, we can also set the virtual memory limits manually (as we did earlier).

It is generally recommended to leave thevirtual memorypaging file settings as they are and let theoperating systemhandle them more efficiently.

However, you can manually increase the limit if you face crashes or lags in performance by following the steps described above.

Frequently Asked Questions

Is it Safe to DisableVirtual Memory?

Disablingvirtual memorycan negatively affect your computer’s performance and stability.Virtual memoryallows one to execute multiple programs simultaneously and handle larger workloads efficiently. Although you can disablevirtual memory, it’s not recommended.

How MuchVirtual MemoryShould I Set?

Microsoft recommends setting thevirtual memoryto at least 1.5 times the amount ofphysical memory(RAM). For example, if your system has 8 GB of RAM, you should set thevirtual memoryto at least 12 GB. However, it can even be increased to twice or three times as well to ensure stability.

What Happens If IReset Virtual Memory?

Resetting avirtual memorymeans changing the size of yourvirtual memoryback to the default settings, which ensures that your computer is running smoothly and efficiently. Also, it clears the existing Paging File occupied by the previous virtual memory allocation.

What Are the Benefits of Resetting Windows Virtual Memory?

If you reset the Virtual Memory in Windows 11/10 properly, it can benefit you in several ways, for instance, Enhanced System Performance, Resolving Memory Issues, troubleshooting lags & freezing problems, etc.

What Are the Risks Involved In Resetting Virtual Memory?

Improper virtual memory management can cause several issues like system crashes, slow performance, application errors, and excessive disk activity. It’s advised not to play with the default Virtual Memory settings to avoid instability.

What Are The Causes Of Low Virtual Memory In Windows 10/11?

Low Virtual Memory can be caused due to several reasons, including running heavy programs simultaneously, insufficient RAM or disk space, improper configuration of page file settings, or virus/malware infection. You might be running low on virtual memory because of any of these reasons.

What Are The Best Settings For Virtual Memory In Windows 10/11?

To follow the best settings for Virtual Memory in Windows 11/10, you should set virtual memory no less than 1.5 times the amount of your physical RAM. Furthermore, don’t exceed the maximum limit of 3 times the RAM size to prevent unnecessary disk usage. These are the correct virtual memory settings.

Bottom Line:

After resetting your Windows 10 or Windows 11virtual memory, your system performance will be better than before. You can try differentvirtual memorysizes and observe which one suits you best according to your system.

Some users recommend to turn off the pagingfilebut it’s not a good idea since you can face different issues likememoryshortage, software crashes, and lags. Also, some heavy applications will not work. Although you have a large amount of RAM but disablingvirtual memoryis not a great idea.

So, I hope you learned something from this guide. If so, you can share your thoughts in the comment section. Furthermore, you can share this useful guide with others too so that they can also get benefit from it.

How to Reset Virtual Memory in Windows 10/11? [2 Easy Ways!] (2024)

FAQs

How to Reset Virtual Memory in Windows 10/11? [2 Easy Ways!]? ›

To reset virtual memory in Windows 10, go to the Control Panel, select System and Security, then select System. Go to Advanced System Settings, then select Performance Settings. Under the Advanced tab, select Change and then adjust the virtual memory size. Once the changes have been made, select Set and then OK.

How do I 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 much virtual memory should I set for 16GB RAM in Windows 11? ›

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.

Should I clear virtual memory? ›

The virtual memory is a temporary storage of less often used RAM files on to the hard disk so that it frees up space on the RAM for more immediate tasks. It is recommended that this policy is enabled as it will clear any critical or confidential data that might have been saved on the page file at shutdown.

How do I restore virtual memory? ›

To reset virtual memory in Windows 10, go to the Control Panel, select System and Security, then select System. Go to Advanced System Settings, then select Performance Settings. Under the Advanced tab, select Change and then adjust the virtual memory size. Once the changes have been made, select Set and then OK.

What problem can virtual memory cause? ›

Using virtual memory makes a computer run slower, as the processor has to wait while data is swapped between hard disk and RAM. As secondary storage devices have slower access times than RAM, the computer's processing performance can be severely impaired.

How do I release virtual memory? ›

Click Start > Settings > Control Panel. Double-click the System icon. In the System Properties dialog box, click the Advanced tab and click Performance Options. In the Performance Options dialog, under Virtual memory, click Change.

How do I reduce virtual memory? ›

Click Start > All Programs > Control Panel > System > Advanced > Performance > Settings > Advanced > Virtual Memory. Click Change. In the Maximum size field, set the value to the recommended value shown at the bottom of the window. In the Initial size (MB) field, enter a value that is half of the maximum size value.

How to clean virtual memory in Windows 11? ›

A system properties window will open up. Then, go to the Advanced tab and click the Settings button in the Performance section. This will open up the Performance Options window, where you can manage virtual memory settings. For this, switch to the Advanced tab and click on Change in the Virtual Memory section.

How to reset pagefile sys Windows 11? ›

In the Performance Options window, go to the Advanced tab and click on “Change…” under Virtual Memory. Uncheck “Automatically manage paging file size for all drives”. Select the system drive with the large pagefile. sys, choose “No paging file,” and then press Set.

Top Articles
What Cybersecurity Professionals Really Need to Know About Programming
What is a cash advance and how does it work?
Toa Guide Osrs
Canya 7 Drawer Dresser
Garrison Blacksmith Bench
Plaza Nails Clifton
Jeremy Corbell Twitter
Hertz Car Rental Partnership | Uber
BULLETIN OF ANIMAL HEALTH AND PRODUCTION IN AFRICA
J Prince Steps Over Takeoff
Elden Ring Dex/Int Build
Kagtwt
Azeroth Pilot Reloaded - Addons - World of Warcraft
Günstige Angebote online shoppen - QVC.de
How to watch free movies online
Housework 2 Jab
Costco Gas Foster City
Flower Mound Clavicle Trauma
Magicseaweed Capitola
Jvid Rina Sauce
Craigslist List Albuquerque: Your Ultimate Guide to Buying, Selling, and Finding Everything - First Republic Craigslist
Tcgplayer Store
Interactive Maps: States where guns are sold online most
Nail Salon Goodman Plaza
Water Trends Inferno Pool Cleaner
Program Logistics and Property Manager - Baghdad, Iraq
Ahn Waterworks Urgent Care
Team C Lakewood
Www.craigslist.com Savannah Ga
Walgreens 8 Mile Dequindre
Обзор Joxi: Что это такое? Отзывы, аналоги, сайт и инструкции | APS
Sessional Dates U Of T
Enduring Word John 15
Joann Fabrics Lexington Sc
Craigslist Boerne Tx
Marlene2295
How Much Is An Alignment At Costco
School Tool / School Tool Parent Portal
Vanessa West Tripod Jeffrey Dahmer
Rogers Centre is getting a $300M reno. Here's what the Blue Jays ballpark will look like | CBC News
Studio 22 Nashville Review
The Closest Walmart From My Location
Directions To Advance Auto
Aita For Announcing My Pregnancy At My Sil Wedding
11526 Lake Ave Cleveland Oh 44102
Poe Self Chill
The Pretty Kitty Tanglewood
Minterns German Shepherds
Madden 23 Can't Hire Offensive Coordinator
Mikayla Campinos Alive Or Dead
Fredatmcd.read.inkling.com
Room For Easels And Canvas Crossword Clue
Latest Posts
Article information

Author: Foster Heidenreich CPA

Last Updated:

Views: 5331

Rating: 4.6 / 5 (56 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Foster Heidenreich CPA

Birthday: 1995-01-14

Address: 55021 Usha Garden, North Larisa, DE 19209

Phone: +6812240846623

Job: Corporate Healthcare Strategist

Hobby: Singing, Listening to music, Rafting, LARPing, Gardening, Quilting, Rappelling

Introduction: My name is Foster Heidenreich CPA, I am a delightful, quaint, glorious, quaint, faithful, enchanting, fine person who loves writing and wants to share my knowledge and understanding with you.