Is your Windows 11 computer running slowly when you open multiple applications, play games, or work with large files? Does Windows display memory-related errors even when your PC has some available RAM? If so, adjusting your virtual memory (paging file) settings might help.
Virtual memory is an important part of Windows memory management. It allows Windows to use a portion of your storage drive as additional committed memory when applications and system processes need more resources. This is particularly useful when your computer has limited physical RAM or you’re running memory-intensive programs.
Windows 11 generally manages virtual memory automatically. However, there may be situations where you want to change the paging file size manually, select a different drive, or restore the default configuration.
The good news is that you don’t need additional software to make these changes. Windows provides a straightforward way to access and configure paging file settings.
In this guide, I’ll explain how to change virtual memory (paging file) in Windows 11, how to select a custom size, and what you should know before modifying these settings.
What Is Virtual Memory in Windows 11?
Virtual memory is a memory management technique that allows Windows to support applications and processes beyond the physical RAM currently available.
Windows uses a file called pagefile.sys, generally stored on the system drive, to provide backing for committed memory. When applications require memory, Windows manages how that memory is backed by physical RAM and the paging file.
For example, suppose your computer has 8 GB of RAM and you’re running several resource-intensive applications. Windows may need additional committed memory to support their workloads. The paging file helps provide that additional capacity.
However, remember that virtual memory is not as fast as physical RAM. Your SSD or HDD is considerably slower than RAM, so increasing the paging file size won’t necessarily make your computer faster.
Why Should You Change the Paging File Size?
There are several reasons why you might want to change virtual memory settings in Windows 11.
One common reason is receiving errors such as There is not enough memory to complete this operation. These errors can sometimes occur when the system reaches its commit limit or encounters memory allocation problems.
Another reason is running applications that require substantial memory. Certain video-editing tools, design applications, virtual machines, and large development projects can consume significant amounts of committed memory.
You might also want to configure the paging file on another drive if your system drive has limited available storage.
Now that you understand the basics, let’s go through the actual configuration process.
Change Virtual Memory (Paging File) in Windows 11

To change virtual memory or paging file settings in Windows 11, follow these steps:
- Press Windows + R, type sysdm.cpl, and press Enter.
- Open the Advanced tab in the System Properties window.
- Under Performance, click Settings.
- Select the Advanced tab and locate Virtual memory.
- Click Change to access paging file settings.
- Uncheck Automatically manage paging file size for all drives.
- Select a drive and choose Custom size.
- Enter your preferred initial and maximum paging file sizes.
- Click Set, followed by OK, and restart your computer.
Note: Changing virtual memory settings incorrectly can affect system performance. If you don’t have a specific reason to change the paging file, letting Windows manage it automatically is generally recommended.
1: Open the System Properties Window
First, you need to access the System Properties window because Windows 11 keeps the virtual memory configuration under its advanced performance settings.
Press Windows + R on your keyboard to open the Run dialog box.
Type sysdm.cpl in the available field and press Enter. You can also click OK to open the same window.
Windows will display the System Properties window, which contains several tabs, including Computer Name, Hardware, Advanced, System Protection, and Remote.
Select the Advanced tab from the top.
Here, you’ll find different configuration sections related to performance, user profiles, and startup and recovery.
Look for the Performance section. This is where Windows provides access to visual effects, processor scheduling, memory usage, and virtual memory settings.
Once you find it, you’re ready to move to the next step.
2: Open Advanced Performance Settings
Now that you’ve opened System Properties, you need to access the advanced performance configuration.
Under the Advanced tab, locate the Performance section and click the Settings button.
A new window named Performance Options will appear.
You’ll notice three tabs: Visual Effects, Advanced, and Data Execution Prevention.
The Visual Effects tab lets you adjust animations, transparency, and other visual elements. However, we’re interested in the Advanced tab.
Click Advanced to view the processor scheduling and virtual memory options.
Under the Processor scheduling section, Windows lets you choose how processor resources are allocated. Below it, you’ll find the Virtual memory section.
This section displays information about the paging file and its current allocation.
Click the Change button to open the virtual memory configuration window.
You can now configure the paging file for your available storage drives.
3: Disable Automatic Paging File Management
When you open the Virtual Memory window, Windows 11 usually manages the paging file automatically.
At the top, you’ll see an option named Automatically manage paging file size for all drives.
When this option is enabled, Windows decides how large the paging file should be based on system requirements and available resources.
If you want to configure the paging file manually, you need to uncheck this option.
Simply click the checkbox next to Automatically manage paging file size for all drives to disable automatic management.
Once you do this, the available paging file configuration options will become accessible.
You’ll see a list of available drives, along with information about their current paging file allocation.
You can now select an individual drive and decide how Windows should manage its virtual memory.
Keep in mind that disabling automatic management means you’ll be responsible for selecting and maintaining the paging file configuration.
If you’re only troubleshooting a temporary performance issue and don’t know which values to use, consider leaving automatic management enabled.
4: Select the Drive for Virtual Memory
The next step is choosing the drive where you want Windows to store the paging file.
In the Virtual Memory window, look under the Drive [Volume Label] section.
You’ll see the available storage drives, such as C:, D:, or other connected volumes.
Select the drive where you want to configure virtual memory.
For most users, the C: drive is a practical choice because it usually contains the Windows installation and is managed directly by the operating system.
However, if your C: drive has limited available storage, you may consider another suitable internal drive.
Before selecting another drive, make sure it has sufficient free space and offers reliable performance. An SSD is generally preferable to a slower HDD for paging file operations.
After selecting a drive, check the available options under Paging file size for selected drive.
You can choose among Custom size, System managed size, and No paging file.
For manual configuration, select Custom size.
5: Enter a Custom Paging File Size
This is the most important part of the process because you’ll specify how much storage Windows can use for virtual memory.
After selecting Custom size, you’ll see two fields: Initial size (MB) and Maximum size (MB).
The Initial size represents the starting allocation, while the Maximum size represents the upper limit Windows can use for that paging file.
For example, if you want to configure a paging file with an initial size of 4096 MB and a maximum size of 8192 MB, enter those values in the respective fields.
Example configuration only. These values are not universal recommendations.
The appropriate paging file size depends on your installed RAM, workload, available storage, and whether you need complete or kernel memory dumps.
Avoid blindly applying formulas such as setting the paging file to 1.5 or 2 times your installed RAM. Those older rules aren’t suitable for every modern Windows computer.
If you’re unsure about the correct values, choose System managed size instead. Windows can then adjust the paging file according to system requirements.
Once you’ve entered your preferred values, click Set to apply the configuration to the selected drive.
Don’t skip this button. Entering the numbers alone doesn’t apply the changes.
6: Save the Changes and Restart Windows
After configuring the paging file, you need to save your settings.
Click OK to close the Virtual Memory window.
Next, click Apply if available, followed by OK, to close Performance Options.
Finally, select OK in the System Properties window.
Windows may display a message asking you to restart your computer before the new paging file configuration takes effect.
Save your open documents, close your applications, and restart your PC.
After Windows boots again, the new virtual memory settings should be active.
If you want to verify your configuration, return to System Properties > Advanced > Performance Settings > Advanced > Virtual memory > Change.
Check the selected drive and its current paging file configuration.
You can also open Task Manager by pressing Ctrl + Shift + Esc, select Performance > Memory, and review the Committed memory information.
The committed value shows current committed memory usage and the system commit limit. It can help you understand whether your system is approaching its available memory commitment.
Restore Automatic Virtual Memory Management
What if your computer starts behaving unexpectedly after you manually change the paging file size? Don’t worry. You can easily restore the original automatic configuration.
Press Windows + R, type sysdm.cpl, and press Enter.
Navigate to Advanced > Performance Settings > Advanced > Virtual memory > Change.
At the top of the window, check the option labeled Automatically manage paging file size for all drives.
Once enabled, Windows will take responsibility for managing the paging file across your drives.
Click OK to save the changes and restart your computer if requested.
This is generally the safest configuration for everyday users because Windows can adjust virtual memory according to changing workloads.
FAQs
1. What is the recommended virtual memory size for Windows 11?
There isn’t one recommended size for every computer. The appropriate paging file depends on your RAM, application requirements, available storage, and memory dump configuration. For most users, allowing Windows to manage the paging file automatically is the best starting point.
2. Does increasing virtual memory make Windows 11 faster?
Not necessarily. Increasing virtual memory can help applications run when committed memory requirements exceed available RAM-backed capacity. However, storage is slower than physical RAM, so a larger paging file doesn’t directly improve overall computer speed.
3. Should I disable virtual memory in Windows 11?
No, disabling the paging file is generally not recommended. Some applications and Windows components depend on sufficient committed memory, and certain crash dump configurations require a paging file. Keeping it enabled helps avoid unnecessary memory-related problems.
4. Can I move the paging file from C: to D:?
Yes. You can configure a paging file on another suitable drive through System Properties > Advanced > Performance Settings > Advanced > Virtual memory. However, make sure the selected drive is reliable and has enough free space. Keeping a suitable paging file on the Windows drive can also be important for crash dump support.
5. How do I check the current paging file size in Windows 11?
Press Windows + R, enter sysdm.cpl, and navigate to Advanced > Performance Settings > Advanced > Virtual memory > Change. The window displays the current paging file allocation for each available drive.
6. Is virtual memory the same as RAM?
No. RAM is physical memory installed in your computer, while virtual memory is a memory management system that uses RAM and storage-backed resources, including the paging file, to support committed memory. Storage-based paging is considerably slower than physical RAM.
Final Words
Changing virtual memory (paging file) settings in Windows 11 is relatively straightforward once you know where to find the configuration options.
You can access these settings through System Properties > Advanced > Performance Settings > Advanced > Virtual memory. From there, you can disable automatic management, select a storage drive, configure a custom paging file size, and save your changes.
However, don’t increase the paging file size just because you want your computer to run faster.
Virtual memory primarily helps Windows manage memory demands, not replace physical RAM.