Categories
Home-and-Garden

How to adjust virtual memory

Windows 10 is at its finest state where you can blindly install it hoping for the best Windows operating system yet. If you just installed the Windows 10, you might want to learn memory management to reduce performance and lagging issues. Here let’s see how to tweak virtual memory in Windows 10 and other memory related settings to fix such issues.

How to Adjust Windows 10 virtual memory settings:

Virtual memory is more like a physical RAM which is being used when the standard RAM runs out of usable space. This might have no meaning to the newer computers which have loads of RAM built-in. But helpful to older machine or machines having not enough memory. It improves the system stability and improves performance, and the same time it saves programs from crashing when the RAM is almost full. Windows 10 also uses the Physical memory profile to handle things if were out of memory.

Windows 10 can take care of itself depending and according to your computer. To fix any performance issues and to make the system more stable you need to fix the Windows 10 virtual memory management, follow the below steps.

1. Click on the Start icon or press the Windows key , and go to the Settings.

2. Start typing ‘performance‘ and choose the appearance and performance of Windows from the results. Or you can directly search ‘Performance‘ in the start menu search bar.

How to adjust virtual memory

Opening Virtual memory settings

3. A window will open, switch to the Advanced tab, and you’ll see a Virtual Memory section, click on the ‘change‘ button. In the same window, you can see values at the end, those are the initial, recommended and the current value of virtual memory. You need to read that.

How to adjust virtual memory

Adjusting Virtual memory values

If you see that the current Allocated value, is less than Recommended value. Uncheck the “Automatically manage paging file size for all drivers” Then, select “custom size” and make changes according to these.

  • In the initial size field enter the recommended memory value (find at the bottom of the box).
  • In the maximum size field enter an amount higher than recommended value. But don’t make it to higher that could not be helpful and you might experience a worse situation.
  • Once you are satisfied click ok to save your new Windows 10 virtual memory settings.

If you’re not sure about how virtual memory in windows 10 can affect its performance, we suggest you to make changes and see results accordingly.

In this article we will show you how to increase virtual memory on Windows 10 to 16 GB, but you can use any number you like. Do note that some algorithms (for example Ethash) are harder on memory than others.

If you have multiple drives, make sure to increase virtual memory on C: drive.

  1. Open Windows Settings.
  2. Click System.
  3. Click About.
  4. Click System info.
  5. Click Advanced system settings.
  6. Select Advanced tab.
  7. Navigate to Performance and click Settings.
  8. Select Advanced tab.
  9. Navigate to Virtual memory and click Change. .
  10. Uncheck Automatically manage paging file size for all drives.
  11. Select option button Custom size.
  12. Set Initial size (MB). You need to set virtual memory 8 GB for each of your GPUs, so if you have 5 cards, this is 8*5 = 40 GB, you enter 40000.
  13. Set Maximum size (MB). You need to set virtual memory 8 GB for each of your GPUs, so if you have 5 cards, this is 8*5 = 40 GB, you enter 40000.
  14. Click Set.
  15. Click OK.
  16. Click OK.
  17. Reboot the machine.

You can reverse the change by checking Automatically manage paging file size for all drives from the step 10.

How to Set Virtual Memory Windows 10 PC (9 Easy Steps) 2021 – In this post, you will learn how to add virtual memory in Windows 10, 8, and 7 step by step accompanied by pictures so that it is easy to understand.

How to adjust virtual memory

Table of Contents

What are Virtual Memory Windows 10 and its functions? 2021

Virtual Memory or Paging File is an important component that determines the performance of a computer. Increasing the size of Virtual Memory can speed up Windows 10’s performance, especially when running heavy programs and games.

Read more:

The main function of Virtual Memory is as a place to accommodate program files that are running but in an idle state (not active or rarely used), so that RAM space can be prioritized for currently active programs.

Virtual memory can be said to be an extension of RAM, the difference lies in RAM which is physical memory, while virtual memory is the result of virtualizing a portion of the space on the hard disk.

Data transfer from RAM to Virtual Memory will occur continuously as long as the system is running. Data that is rarely used will be moved from RAM to Virtual Memory, and data needed by the processor will be transferred to RAM. With this kind of approach, the system will still have sufficient resources and avoid lags and hangs.

That is more or less important as the presence of Virtual Memory in the Windows operating system, and it is no less important to allocate the right size.

By default, Windows has allocated the Virtual Memory size automatically, but usually, the size is still too small. If you like running heavy programs such as playing games on an emulator, you can be sure that an error with the message “low virtual memory” will often appear, as well as when running other heavy programs.

How to Set virtual memory Windows 10,8 and 7

1. Open Control Panel

The first step is to enter the Control Panel. In Windows 10, you can type “control panel” in the search bar and then select the Control Panel menu.

How to adjust virtual memory

3. Select Advanced system settings

On this page, you will see the details of the systems on our computer, find the menu called Advanced system settings then click once to enter.

How to adjust virtual memory

4. Click on the Advanced tab

We will be taken to the System Properties window, click on the Advanced tab.

5. Click Settings on the Performance option

Look at the Performance option then click on the Settings button.

How to adjust virtual memory

6. Go to the Advanced tab

Then go to the Advanced tab.

7. Click the Change button on the Virtual memory option

Look at the Virtual memory option, there is a button labeled Change. Click the button.

8. Click drive C

In the virtual memory menu, you will see a list of drives on our computer, click on the C drive.

9. Check Custom size then change the Virtual Memory size

How to adjust virtual memory

Still, in the same window, check the Custom size option then change the size.

You can use half of the same size as RAM, this is the most commonly used value.

If you only have 8GB of RAM or less then I suggest using the same virtual memory size as RAM, if it’s above that then using half of it is enough. When finished, click the OK button.

How to add Virtual Memory in Windows 7

The following is how to increase the size of Virtual Memory in Windows 7:

  1. Click the Start button.
  2. Right-click on Computer.
  3. Select Properties.
  4. Look at the left panel, click on Advanced system settings.
  5. Click on the Advanced tab
  6. Pay attention to the Performance option, click the Settings button there.
  7. Click the Advanced tab again
  8. In the Virtual Memory section, click the Change button.
  9. Click on the C drive.
  10. Check the Custom size, enter the desired Virtual Memory value.
  11. Click OK

Read more:

Conclusion:

If you need instructions in the form of an image you can see above in the section Windows 10 and 8, the process is the same only different at the beginning.

After adding Virtual Memory the computer does not need a restart to apply the changes. A restart is only needed when we reduce the Virtual Memory value.

Windows 10 RAM (Random Access Memory) goes low while you are running too many applications at the same time, like Google Chrome, Battlegrounds, Microsoft word, YouTube videos, etc. At this moment, the virtual memory is invoked to function on your PC.

But unfortunately, the error that your system is low on virtual memory also appears on Windows 10.

In such a case, you find Windows 10 is slow or freezes as it fails to process with enough virtual memory.

It is said that virtual memory size or to say Windows paging file can be adjusted in accordance with your system basics. So here you might as well increase virtual memory on Windows 10 improve PC’s performance.

What is Virtual Memory?

Simply put it, Windows virtual memory comes to play when there is not enough physical memory (RAM) on your PC. In essence, virtual memory is a tremendous file named PageFile.Sys stored on hard drive, which is why users are prone to call it Page file or Paging file or Swap file.

In this way, to set Windows 10 virtual memory, you are actually adjusting the Page file size.

How to Increase Virtual Memory on Windows 10?

You need to know that no matter you are watching a video or open a webpage in browsers, there will be a program file places in RAM. On this occasion, Windows 10 will use a large amount of RAM, thus easily getting stuck due to slow RAM. Therefore, increasing the virtual memory is quite necessary or sometimes unavoidable.

Nevertheless, since virtual memory on Windows 10 should be managed in line with the RAM, so before you start changing page file size, you would better check the actual physical memory on Windows 10. Then increase virtual RAM on the basis of your RAM.

Step 1: Check Windows 10 RAM

To get to know how much RAM you have on Windows 10, navigate to This PC > Properties > Installed memory.

How to adjust virtual memory

Here it is 8GB. Like what you notice, there are only 6.94 GB left for use. That lies in that some RAM is used by your video card or something else on the system.

Notes:

But here you should pay attention that if it is Windows 10 32-bit, it means the physical memory is no more than 4GB and even if the RAM shows 8GB or more on a PC of Windows 10 32-bit, only 4GB works. So you can only increase the virtual memory from 4096MB to 6144MB.

Upon getting the RAM size and Windows system type, you now are able to set virtual memory on Windows 7, 8, and 10.

Step 2: Increase Virtual Memory on Windows 10

As you know, by default, Windows 10 tend to automatically manage paging file size for all drives. That is to say, virtual memory has already been customized the time you installed the system. But if you have known how much physical memory you have on Windows 10, it is feasible to change Windows 10 virtual memory.

1. Right click This PC to open its Properties.

How to adjust virtual memory

2. In System window, hit Change settings.

How to adjust virtual memory

3. In System Properties, under the Advanced tab, locate Performance and then choose to change its Settings.

How to adjust virtual memory

Here you are capable of adjusting the performance of Virtual effect, processor scheduling, memory usage, and virtual memory.

4. In Performance Options, under Advanced, find out Virtual memory and then Change it.

As you have noticed, it shows you that a paging file is an area on the hard disk that Windows uses as if it were RAM. And on this PC, the total paging file size for all drives is 1325 MB.

5. In Virtual Memory, uncheck the option – Automatically manage paging file size for all drives, and then Custom size will be available, begin to set both the Initial size and Maximum size.

How to adjust virtual memory

After that, according to the optimal settings, Windows 10 virtual memory should be 1.5-3 times that of the RAM.

If your physical memory is 1GB, you can set your virtual memory as 1536MB, 2048MB or 3072MB.

If your physical memory is 2GB, you can set your virtual memory as 3072MB, 4096MB or 6144MB.

If your physical memory is 4GB, you can set your virtual memory as 4096MB or 6144MB.

If your physical memory is 8GB, you can set your virtual memory as 8192MB.

Here if you are to increase Windows virtual memory, both the initial size and the maximum one should be larger than the Recommended size 1784 MB, which is what Windows 10 automatically sets for you.

6. Click Set and OK to save changes.

Now you will have increased Windows 10 virtual memory and PC screen flickers will disappear as the programs would turn to virtual memory if using too high RAM.

The Set Memory Resources for VM action is used to modify the memory reservation and memory limit on virtual machines. You modify the memory reservation and limit to manage resources in your environment, either to reclaim unused resources or to ensure that your virtual machines have the resources they need to run efficiently.

How the Action Works

The Set Memory Resources for VM action determines how memory resources are allocated to the virtual machine. The reservation value is the minimum amount of guaranteed memory allocated for the virtual machine. The limit is the maximum amount of memory that the virtual machine can consume.

The reservation and limit values in vCenter Server are set in megabytes. vRealize Operations calculates and reports on memory in kilobytes. When you run this action, the values are presented in kilobytes so that you can implement recommendations from vRealize Operations .

To run the action, all options must be configured in the dialog box for the objects on which your are running the action. If you are changing one option to a new value, but not another option, ensure that the option that you do not want to change is configured with the current value.

Where You Run the Action

  • Embedded just below the top menu.
  • From the left menu click Environment > Object Browser , select an object, click the Details tab, and click Views .
  • From the left menu click Environment > Object Browser . Select an object, click the Environment tab, and select an object in the list view.
  • From the left menu click Environment and then click Inventory . Select an object in the list.
  • In configured alert recommendations.
  • In the Object List and Topology Graph dashboard widgets.

Action Options

To ensure that you are submitting the action for the right objects, review the following information.

Check box indicates whether the action is applied to the object. To not run the action on one or more objects, deselect the associated check boxes. This option is available when two or more objects are selected.

If you modify a value, the check box is selected. The check box must be selected to enable the OK button.

Name of the virtual machine as it appears in the environment inventory.

Amount of memory in kilobytes reserved for the virtual machine when the action is finished. The new reservation value must be less than or equal to the new limit value unless your new limit is unlimited (-1).

The reservation supports the following possible values:

  • If you set the value to 0, the virtual machine is allocated only the currently configured amount of RAM.
  • If you add or remove reserved memory, the value must be evenly divisible by 1024.

Amount of memory in kilobytes that is configured as the guaranteed memory for the virtual machine.

Maximum amount of memory in kilobytes that the virtual machine can consume when the action is completed.

The limit supports the following possible values:

  • If you set the value to 0, then the maximum memory is no greater than the allocated reservation amount.
  • If you set the value to -1, then the virtual machine memory is unlimited.
  • It you increase or decrease the limit, the value must be evenly divisible by 1024.

Maximum amount of memory that the virtual machine is currently allowed to consume.

Name of the host on which the virtual machine is running.

Name of the VMware Adapter as it is configured in vRealize Operations . The adapter manages the communication with the vCenter Server instance.

After you click OK , the next dialog box provides the task ID and a link to the task list.

I know the system says 1906 MB is recommended but is it enough or I should set it more?

Currently, my Virtual Memory size is 12 GB by the way but I feel it is useless.

Thanks in advance!

How to adjust virtual memory

2 Answers 2

Automatic Method

Windows 10 automatically manages the pagefile for your computer’s configuration and the amount of RAM present in it. Typically you’ll simply allow the Windows OS to dynamically manage this since in most cases that’ll suffice and it’ll work just fine.

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 1 GB of RAM, the minimum Pagefile size can be 1.5 GB, and the maximum size of the file can be 4 GB.

Source

Manual Method

To calculate the “general rule” recommended size of virtual memory in Windows 10 per the 8 GB your system has, here’s the equation 1024 x 8 x 1.5 = 12288 MB. So it sounds as if the 12 GB configured in your system currently is correct so when or if Windows needs to utilize the virtual memory, the 12 GB should suffice.

As a general rule, the maximum size of the paging file must be x1.5 the amount of RAM installed. Thus for a PC running with 4GB of RAM, the maximum size of the swap file will be 1024 x 4 x 1.5 Mb.

Source

Fine-Tuned Method (Critical Systems)

It’s probably true there is no ‘one size fits all‘ formula for Windows 10 systems that are super fine-tuned to find the most optimal configuration per those systems.

In these cases, depending on various factors of the system and what’s important for the system processes, there are many other factors to consider obviously.

There are many options available to record and measure system performance metrics to help benchmark and super fine-tune this configuration if needed though.

While all this is really just a trivial matter, it’ll add some complexity and time to get the most optimal configuration where this setting must be the most optimal.

In most cases though using 1.5 times virtual memory for the amount of total RAM on Windows 10 systems will suffice and keep it simple or be a good enough starting point if simply allowing Windows 10 to manage it automatically will not work.

How to adjust virtual memory

There is no hard and fast rule that encompasses the ideal page file size on all systems; it’s very specific to the workload your computer is exposed to. The accepted answer here is what one would recommend to a casual user, not a power user.

Budgeting for max workloads: If you expect to max out your RAM usage, then at the very least you should be budgeting enough virtual memory to cover any worst case scenarios. I.e. if you have 32GB of RAM but often work with 50GB data sets, then you’ll probably want a page file somewhere in the ballpark of 32GB to cover the difference and accommodate anything else that might be allocating memory.

Budgeting for Windows crash dumps: For complete memory dumps, you need a page file the size of your RAM + 1MB. Though complete memory dumps aren’t typically needed since we also have kernel dumps, which will trim the file down by omitting information that is (probably) irrelevant to the crash. Kernel dumps are less demanding, but their size can vary considerably. According to Microsoft, kernel dumps will typically be around 1/3 the size of the RAM on your system.

Windows will use the page file even when RAM is available: This is important to keep in mind, especially if you’re seeing unexpected slowdown with large page files. Windows will monitor memory usage and might page away processes with less activity to accommodate more active processes and also any processes that you may launch in the future. Take Windows Update vs your desktop, for example. The vast majority of the time Update is dormant while your desktop isn’t, so it will page Update in favor of caching the desktop in active memory, i.e. giving RAM to the process that more actively needs it.

Windows is constantly making these decisions; managing a cache for hundreds of files that are constantly being written by background services whilst balancing it with the memory demands of active processes. Unfortunately Windows may not always get the priorities right, and we end up having to wait for the OS to page data back into active memory. It’s possible, though I’m only assuming, that the amount of page space available plays some limited role in whether or not Windows decides something can be ‘safely’ paged without creating a dramatic impact on responsiveness.

Set it to your system’s needs: Ideally, you’ll want to be as helpful to your OS as possible by setting the page file size to nothing more or less than your system will potentially need. Setting it to some arbitrary value, like 1.5x your RAM, can either be overkill or underkill and may have a negative impact on system performance or reliability.

Virtual memory is essential on Windows 10. By default, the OS will manage the virtual memory on its own. It will set a value based on what it thinks is best and how much RAM you have. You can however, change virtual memory size on Windows 10 to whatever you like. You can decrease or increase it. You should know that increasing it requires that you have that much free space on your disk. Here’s how you can change virtual memory size on Windows 10.

Change virtual memory size

Open the Control Panel and go to System and Security>System. In the column on the left, click Advanced System Settings.

How to adjust virtual memory

On the System Properties window (window 1 in the screenshot below), go to the Advanced tab. Click ‘Settings’ under the ‘Performance’ section. This will open the Performance options window (window 2 in the screenshot below). Go to the Advanced tab, and click ‘Change’ under the ‘Virtual Memory’ section. The Virtual Memory window will open (window 3 in the screenshot below). Uncheck the ‘Automatically manage paging file size for all devices’ option. You can allocate virtual memory for each drive.

Make sure the C drive is selected and select the ‘Custom size’ option. You can now enter how much space the virtual memory should take up. There is a minimum limit which is 16MB and that’s really, really small. There’s also a recommended size which is quite small and then there’s the current size of the virtual drive.

How to adjust virtual memory

Keep the above limits in mind and then change the size of the virtual memory. When you’re done, click OK/Apply to close all three windows. You will see a prompt telling you that a system restart is necessary in order to apply the change. Accept the prompt, and restart your system to change virtual memory size.

Increasing the virtual memory size will make your system run smoother but within reason. If you have trouble running apps that are RAM heavy, increasing the virtual memory should be able to help if not solve the problem. Decreasing its size may have a negative impact on your system’s performance. In fact, setting it to the recommended size might not be a good idea. The recommended size is considerably less than what Windows 10 sets by default but that doesn’t mean you should actually listen to the recommendation.

If you have the space to spare, adding a little extra GBs to the virtual memory isn’t a bad idea. It’s easy to change back if it doesn’t deliver any improved performance so there’s no harm done.

What are virtual memory settings? How can they be changed? Read on, to know all about it.

Like it? Share it!

  • Share
  • Tweet
  • LinkedIn
  • Pin
  • Email

What are virtual memory settings? How can they be changed? Read on, to know all about it.

An important parameter that affects a computer’s performance, is its working memory. Besides the clocking frequency, which decides the speed of the computer processor, what matters most is the RAM (Random Access Memory) capacity. This hardware memory is supplemented by ‘Virtual memory‘, derived from the free space on a hard drive.

About Virtual Memory

RAM is the primary working memory of the computer, which is used to run all the computer applications. However, when you have multiple programs running simultaneously, it may happen that your processor falls short of working memory space on the RAM. That’s when, virtual memory space comes into action. Virtual computer memory is hard drive space, that is allocated for working memory usage.

When the RAM gets used up to full capacity, a part of its data is transferred to the hard drive, in the form of a ‘Paging File’. It is ‘virtual‘, because the computer processor does not recognize that the extra working memory is part of hard drive space. On Windows machines, the page file typically has a ‘.swp’ extension.

How to Change its Settings?

Here are instructions on modifying the settings on all the Windows operating systems. Remember, that to make changes in virtual memory size, you need to be signed in as ‘Administrator‘. In each case, paging file size recommendations will be provided, which you may choose to follow.

In Windows XP
To modify the memory settings on a Windows XP machine, go to My Computer > Properties > Advanced > Settings > Advanced Tab, click on ‘Change’ to modify the amount of hard drive space that you want to allocate for virtual memory. You can select the drive on which you want the space to be allocated and set a minimum and maximum value for it. There is no ‘optimal’ size specification as such. Set as much space, as you can afford to allocate.

In Windows Vista
On Windows Vista, right click on My Computer and go to Properties > Advanced System Settings > Advanced Tab > Performance Settings > Advanced Tab. To modify settings, click on the ‘Change’ Button and set the minimum and maximum memory size in MB (megabytes). The Windows 7 settings are accessible by the same path as specified above, for Windows Vista.

In Windows Server 2003
Changing the settings on Windows Server 2003 or later editions is similar to other versions. All you have to do is go by the following path – Start > Control Panel > Administrative Tools > Computer Management > Properties > Performance > Settings. Then, under the ‘Virtual Memory’ section, click on the change button to specify minimum and maximum allocation size.

Increasing virtual memory is beneficial when you have a large multitasking workload on your computer. Still, its retrieval is not as fast as RAM, because the data needs to be transferred back and forth from the computer hard drive. It is better to increase RAM capacity of your computer, than relying on increase in memory, to boost processing speed. Nevertheless, the expansion might just provide you with a fractional increase in working efficiency.

How to adjust virtual memory

What is virtual memory? What if it is low? How to increase virtual memory Windows 10? How much virtual memory should you set? Now, after reading this post from MiniTool, you will know much information. Just follow the method below to fix low virtual memory.

Virtual Memory Low

Virtual memory refers to a memory management technique that is in conjunction with the hardware in an operating system. All programs use RAM. However, Windows will move data stored in the RAM to a file on a hard disk – paging file so as to provide additional space for high-speed memory functions when the RAM for the program you are running isn’t enough.

Since the page file can work as a secondary RAM, it is also referred to as virtual memory most of the time.

If the RAM is more, your program will run faster. However, the computer performance will be impacted if it is low with an error message “Your system is low on virtual memory. Windows is increasing the size of your virtual memory paging file. During this process, memory requests for some applications may be denied”.

How to adjust virtual memory

Receive “Your computer is low on memory” message in Windows 10/8/7? Here are full fixes and you can try them to fix the low memory error.

In this case, you attempt to increase virtual memory to solve this issue. Here is how to do this work in Windows 10.

How to Increase Virtual Memory Windows 10

The operation is simple by following the step-by-step guide:

Step 1: Bring up the System page via one of the methods below:

  1. Directly press the Windows key and the Pause key on your keyboard.
  2. Or go to Control Panel > System and Security > System.

Step 2: Click Advanced system settings from the left panel.

Step 3: Under the Advanced tab, click Settings in the Performance section to open the Performance Options page.

How to adjust virtual memory

Step 3: Go to the Advanced tab, click the Change button in the Virtual memory section.

How to adjust virtual memory

Step 4: In the pop-up window, the Automatically manage paging file size for all drives option is selected by default. Just uncheck the box and choose a drive you want to edit the paging file size for. Generally, the C drive is selected in most cases.

Step 5: Click Custom size, type the initial size and maximum size of the paging file in megabytes (MB) depending on the physical memory in your PC.

How to adjust virtual memory

When reading here, you may ask “how much virtual memory should I set”. In the above picture, you can see the recommended virtual memory for your Windows 10.

Actually, Windows sets the initial paging file size of virtual memory equal to the amount of the installed RAM on your computer. Microsoft recommends that you set it to be a minimum of 1.5 times and a maximum of 3 times of the physical RAM.

If your computer has 4GB RAM, the minimum paging file should be 1024x4x1.5=6,144MB and the maximum is 1024x4x3=12,288MB. Here 12GB for a paging file is enormous, so we won’t recommend the upper limit since the system may be unstable if the paging file increases over a certain size.

Step 5: Click Set and OK. Now, you successfully increase virtual memory in Windows 10.

  • Facebook
  • Twitter
  • Linkedin
  • Reddit

ABOUT THE AUTHOR

Position: Columnist

Vera is an editor of the MiniTool Team since 2016 who has more than 5 years’ writing experiences in the field of technical articles. Her articles mainly focus on disk & partition management, PC data recovery, video conversion, as well as PC backup & restore, helping users to solve some errors and issues when using their computers. In her spare times, she likes shopping, playing games and reading some articles.