iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more
For most Windows 11 computers, the correct paging-file setting is Automatically manage paging file size for all drives. Windows can adjust the file based on memory pressure, peak commit charge, available disk space, and crash-dump requirements.
A custom size can help when a workload repeatedly reports out-of-memory errors while Windows is expanding the page file, or when you need a predictable minimum size for a particular application. RAM alone does not determine the correct page-file size, so values such as “1.5 times RAM” should be treated as troubleshooting starting points—not universal rules.
Recommended paging-file settings by installed RAM
| Installed RAM | Normal recommendation | Custom troubleshooting starting point |
|---|---|---|
| 4 GB | System-managed size | Initial: 6144 MB Maximum: 12288 MB |
| 8 GB | System-managed size | Initial: 12288 MB Maximum: 24576 MB |
| 16 GB | System-managed size | Initial: 24576 MB Maximum: 49152 MB |
The custom figures are derived from Microsoft’s troubleshooting guidance: an initial size of approximately 1.5 times installed RAM, with a maximum reference of three times RAM. They are appropriate when automatic growth is causing allocation failures—not as mandatory settings for every Windows 11 PC.
PC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Crashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minuteWhat the Windows page file does
The page file, normally C:pagefile.sys, is a disk-backed part of Windows virtual memory. It is not simply “extra RAM.” Windows uses it to back committed virtual memory, move some infrequently used modified pages out of physical memory, increase the system commit limit, and support crash dumps.
#1 Best Overall
- Boosts System Performance: 16GB DDR4 Pro Series desktop memory RAM kit (2x8GB) that operates at 3200MHz, 3000MHz, or 2666MHz to improve multitasking and system responsiveness for smoother performance
- Easy Installation: Upgrade your desktop RAM with ease—no computer skills required Follow step-by-step how-to guides available at Crucial for a smooth, worry-free installation
- Compatibility Guaranteed: Ensure seamless compatibility with your desktop by using the Crucial System Scanner or Crucial Upgrade Selector—get accurate recommendations for your specific device
- Trusted Micron Quality: Backed by 42 years of memory expertise, this DDR4 RAM is rigorously tested at both component and module levels, ensuring top performance and reliability
- ECC Type = Non-ECC, Form Factor = UDIMM, Pin Count = 288-pin, PC Speed = PC4-25600, Voltage = 1.2V, Rank and Configuration = 1Rx16, 1Rx8 or 2Rx8
The approximate commit limit is:
Physical RAM + the sizes of available page files
For example, removing the page file from an 8 GB computer reduces the amount of memory Windows can commit. An application may then fail even when Task Manager appears to show some free RAM. This is one reason disabling the page file is not a general performance optimization.
How to change the paging-file size in Windows 11
- Open Control Panel.
- Go to System and Security > System.
- Select Advanced system settings.
- On the Advanced tab, select Settings under Performance.
- Select the Advanced tab.
- Under Virtual memory, select Change.
You can open the same settings more quickly:
- Press Windows key + R.
- Enter
SystemPropertiesAdvancedand press Enter. - Select Settings > Advanced > Virtual memory > Change.
To use a custom size
- Clear Automatically manage paging file size for all drives.
- Select the drive containing the page file, normally
C:. - Select Custom size.
- Enter the required value in Initial size (MB).
- Enter the required value in Maximum size (MB).
- Select Set. This step is easy to miss; entering the numbers is not enough.
- Select OK on each open dialog.
- Restart Windows.
Windows normally does not fully apply a manually changed page-file configuration until you restart.
Custom paging-file size for 4 GB RAM
A Windows 11 computer with 4 GB of RAM has a relatively small commit limit, so keeping a page file enabled is particularly important. For ordinary browsing, office work, and light applications, select System managed size or leave automatic management enabled.
If an application repeatedly fails while Windows is growing the page file, use:
Initial size: 6144 MB
Maximum size: 12288 MB
This gives Windows a 6 GB initial allocation and permits growth to 12 GB, assuming the drive has enough free space. Do not use these values if the system drive cannot spare the required capacity.
Custom paging-file size for 8 GB RAM
For general Windows 11 use, an 8 GB computer should normally remain system-managed. Browsers with many tabs, development tools, virtual machines, photo applications, and large office workloads can all produce different peak commit requirements.
For allocation failures linked to slow page-file growth, use:
Do these 3 things before closing this tab:
1Scan for outdated or missing drivers - takes under a minute2Clear out junk files and repair common Windows errors3Fix the driver behind crashes, sound loss and screen glitchesRank #2
- Boosts System Performance: 32GB DDR5 RAM laptop memory kit (2x16GB) that operates at 5600MHz, 5200MHz, or 4800MHz to improve multitasking and system responsiveness for smoother performance
- Accelerated gaming performance: Every millisecond gained in fast-paced gameplay counts—power through heavy workloads and benefit from versatile downclocking and higher frame rates
- Optimized DDR5 compatibility: Best for 12th Gen Intel Core and AMD Ryzen 7000 Series processors — Intel XMP 3.0 and AMD EXPO also supported on the same RAM module
- Trusted Micron Quality: Backed by 42 years of memory expertise, this DDR5 RAM is rigorously tested at both component and module levels, ensuring top performance and reliability
- ECC Type = Non-ECC, Form Factor = SODIMM, Pin Count = 262-Pin, PC Speed = PC5-44800, Voltage = 1.1V, Rank And Configuration = 1Rx8
Initial size: 12288 MB
Maximum size: 24576 MB
These values are a troubleshooting baseline, not proof that every 8 GB PC needs a 24 GB page file.
If you require a complete memory dump, an 8 GB system needs at least RAM plus 257 MB—approximately 8449 MB—in a suitable page file or dedicated dump file. That is only the crash-dump minimum. The file may also need capacity for the workload’s peak commit charge.
Custom paging-file size for 16 GB RAM
A 16 GB Windows 11 computer does not automatically need a fixed 24 GB or 48 GB page file. For normal use, leave the setting at Automatically manage paging file size for all drives.
If a specific workload is affected by slow automatic growth, use:
Initial size: 24576 MB
Maximum size: 49152 MB
Before choosing these values, check that the drive has enough free space. A fixed maximum that is too small for the workload can cause failures later, even if the computer works correctly immediately after the change.
For a complete memory dump, 16 GB of RAM requires at least RAM plus 257 MB—approximately 16641 MB—in the required page file or dedicated dump file, in addition to space needed for normal commit activity.
Why system-managed size is usually better
Windows 11’s system-managed page file can grow or shrink according to several conditions:
Rank #3
- A-Tech 16GB RAM Kit (2 x 8GB Modules), DDR3/DDR3L SO-DIMM 204-Pin, 1600MHz PC3L-12800 (PC3L-12800S)
- Non-ECC Unbuffered, 2Rx8 (Dual Rank x8), JEDEC DDR3 Low Voltage 1.35V
- Compatible with select DDR3 SODIMM capable Laptop, Notebook, Mini PC, and All-in-One (AIO) computer systems. Please verify your system's memory type, form factor, and maximum supported capacity before purchasing
- Not compatible with desktop (DIMM), DDR2, DDR4, DDR5, ECC Registered (RDIMM), ECC Load Reduced (LRDIMM), or ECC Unbuffered (ECC UDIMM) memory types
- Increases available memory capacity to enhance system responsiveness, application performance, and multitasking capabilities.
- Physical memory installed in the computer.
- Current and historical system commit charge.
- Workload requirements.
- Crash-dump configuration.
- Free space and volume limitations.
Windows may start growing the file when commit charge approaches approximately 90% of the commit limit. Microsoft documents a general growth ceiling of three times physical RAM or 4 GB, whichever is larger, subject to available disk space. For crash-dump requirements, the file may need to grow close to the available free space on the volume.
Recommended Free Tools
As a result, the allocated page-file size shown in File Explorer can be larger than the amount currently being used. File size, current usage, and peak usage are different measurements.
Crash-dump requirements
The selected crash-dump type affects the minimum page-file or dedicated-dump-file size:
| Crash-dump setting | Minimum requirement |
|---|---|
| Small memory dump | 1 MB |
| Kernel memory dump | Depends on kernel virtual-memory usage |
| Complete memory dump | Installed RAM + 257 MB |
| Automatic memory dump | Depends on kernel virtual-memory usage |
Windows enables Automatic memory dump by default. Its initial page-file requirement is based on kernel-memory needs. If another crash occurs within four weeks, Windows can increase the requirement to the smaller of installed RAM or 32 GB.
A page file that meets only the crash-dump minimum may still be too small for normal operation. The maximum must also accommodate peak commit charge.
The Tool Desk
Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →What happens if you move the page file to another drive?
Moving the page file to another internal drive does not always remove page-file requirements from the Windows boot volume. For a complete memory dump, Windows first writes crash information to a paging file on the operating-system volume. The boot-volume page file must therefore be large enough for that process, even if the final dump is stored elsewhere.
A drive that is removable, unavailable during early boot, inaccessible because of encryption, or otherwise unsuitable can also cause Windows to create a temporary page file on another volume.
Rank #4
- Capacity – 32GB RAM KIT (2 x 16GB Modules) Speed up to 2666MHz Non-ECC Unbuffered 260-Pin 1.2V SODIMM.
- Specs – PCB Color (Green or Black) and Rank (1Rx8 or 2Rx8) may vary depending on production batch. Performance and quality remain consistent across all Timetec products.
- Compatibility – Designed for selected DDR4 Laptop, Notebook, Mini PCs, and All-In-One systems(AIO) that support 260-Pin SODIMM memory. NOT compatible with Desktop DIMM slots.
- Installation – Plug-and-Play Upgrade, Quick and Easy to Install, no expertise required (please refer to your system's manual for guidelines).
- Warranty – All Timetec products are high-quality and rigorously tested to meet stringent standards. Backed by Timetec Limited Lifetime Warranty and professional technical support based in the United States.
Common page-file mistakes
Setting the size to exactly 1.5 times RAM
The 1.5-times figure is a Microsoft troubleshooting starting point for slow automatic page-file growth. It is not a universal recommendation. A workload with low commit demand may need less, while a build process, virtual machine, or media application may need substantially more.
Disabling the page file because the computer has 16 GB of RAM
More RAM does not make the page file unnecessary. Windows can still need it for committed memory, modified pages, and crash dumps. Removing it also lowers the commit limit.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Assuming 100% page-file usage automatically means a fault
Page-file usage by itself does not prove a performance problem. The more useful questions are whether the commit limit has been reached and whether applications or memory operations are waiting for storage.
Interpreting a high Page/sec value as proof of insufficient RAM
Hard page faults can involve executable files, DLLs, memory-mapped files, and page files. A high Page/sec counter alone does not identify the cause of paging or prove that adding RAM will solve it.
Troubleshooting page-file problems
| Symptom | Likely cause |
|---|---|
| Out-of-memory errors during builds or other heavy work | Automatic page-file growth is too slow, or the maximum size is too small. |
| Windows cannot grow the page file | Insufficient free space or a volume-size limitation. |
| Applications fail after the page file was disabled | The commit limit was reduced below the workload’s requirement. |
| No crash dump is created | The page file or dedicated dump file is too small, or the required boot-volume page file is missing. |
| A page file returns after being removed | Windows needs an accessible boot-volume page file or created a temporary one. |
| A fixed configuration works initially but fails later | Peak commit charge exceeded the selected maximum. |
When investigating, open Task Manager > Performance > Memory and compare the Committed value with the commit limit. Also check free space on the volume hosting the page file. A page-file maximum cannot be reached if the drive does not have sufficient available capacity.
Final recommendation
- 4 GB RAM: Keep the page file enabled and normally system-managed. If automatic growth causes errors, try 6144 MB initial and 12288 MB maximum.
- 8 GB RAM: Use system-managed sizing for ordinary use. For a documented slow-growth problem, try 12288 MB initial and 24576 MB maximum.
- 16 GB RAM: Keep automatic management enabled unless a particular workload or crash-dump requirement justifies a fixed size.
- Any system: Do not set a maximum below the workload’s peak commit requirement, crash-dump requirement, or available free-space limits.
For most Windows 11 installations, automatic management is the safest and most adaptable choice. A custom page file should solve a measured problem, not follow a RAM-size formula by itself.
Free tools Windows power users keep installed
One-click scans. No signup required.
Reference: Microsoft’s page-file sizing guidance.
Best Value
- Capacity – 32GB RAM KIT (2 x 16GB Modules) Speed up to 2666MHz Non-ECC Unbuffered 288-Pin 1.2V UDIMM.
- Specs – Black PCB Color and Dual Rank (2Rx8).
- Compatibility – Designed for selected DDR4 Desktop PCs and workstations that support 288-Pin UDIMM memory. NOT compatible with Laptop SODIMM slots.
- Installation – Plug-and-Play Upgrade, Quick and Easy to Install, no expertise required (please refer to your system's manual for guidelines).
- Warranty – All Timetec products are high-quality and rigorously tested to meet stringent standards. Backed by Timetec Limited Lifetime Warranty and professional technical support based in the United States.
FAQ
What is the best paging-file size for Windows 11 with 4 GB RAM?
Use a system-managed page file. If automatic growth causes repeated allocation errors, use 6144 MB as the initial size and 12288 MB as the maximum.
What is the best paging-file size for Windows 11 with 8 GB RAM?
System-managed sizing is normally best. For a specific slow-growth problem, use 12288 MB initial and 24576 MB maximum as a troubleshooting baseline.
Does a Windows 11 PC with 16 GB RAM need a page file?
Usually, yes. Leave it system-managed unless you have a measured reason to configure a custom size. Windows may need the page file for commit capacity, modified memory pages, or crash dumps.
Quick wins for a faster PC:
Repair Windows errors before they cause bigger problemsFix Now →Scan for outdated or missing drivers - takes under a minuteDriver Scan →Should I disable the page file to improve performance?
No. Disabling it reduces the commit limit and can cause application failures or prevent Windows from creating the requested crash dump.
Do I need to restart after changing the page-file size?
Yes. Save the new values, select Set, confirm the dialogs, and restart Windows so the configuration is applied.
Why is pagefile.sys larger than the amount of page-file data currently used?
The allocated file size is different from current and peak usage. Windows may allocate additional space in advance for commit demand, usage history, or crash-dump requirements.
The Bottom Line
Bottom line: Leave Windows 11’s paging file set to automatic management unless you are solving a specific allocation or crash-dump problem. If a fixed troubleshooting configuration is necessary, use 6144/12288 MB for 4 GB RAM, 12288/24576 MB for 8 GB, or 24576/49152 MB for 16 GB—where each pair is initial size/maximum size. Keep enough free disk space for both the page file and the rest of Windows.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

