What page file size actually does
Your computer has two types of memory: RAM (the fast kind) and your hard drive or solid-state drive (the slow kind). When you run too many programs at once, RAM fills up. Instead of crashing, Windows and Mac use page file — a chunk of your hard drive that pretends to be RAM. It is much slower, but it keeps your computer running rather than freezing.
Increasing page file size tells your operating system it can use more of your hard drive as backup memory. This does not make your computer faster. It makes it less likely to crash when you are doing something memory-heavy, like editing video or running many browser tabs. The trade-off is that your hard drive gets slower the more you ask it to do this job.
Key Takeaways
- Page file is hard-drive space your computer uses when RAM runs out, so increasing it prevents crashes but does not speed up your computer.
- Windows lets you set page file size manually in Virtual Memory settings; Mac handles it automatically and you cannot change it.
- Most people should leave page file on automatic, because setting it too high wastes hard-drive space and setting it too low causes the same freezing you started with.
- If you are constantly running out of memory, increasing page file is a temporary fix — the real solution is closing programs or adding more RAM.
When you actually need to change page file size
You notice your computer is slow or freezing when you do specific tasks — usually video editing, 3D rendering, or running 20+ browser tabs at once. You check Task Manager (Windows) or Activity Monitor (Mac) and see that RAM is nearly full. At that point, increasing page file can buy you time.
You do not need to change page file size for everyday use. Browsing, email, word processing, and video streaming work fine with the default settings. Changing page file is for people who regularly hit the ceiling of their RAM and cannot add more physical memory right now.
How to increase page file size on Windows
Open the Start menu and type "View advanced system settings" — click the result. In the System Properties window, go to the Advanced tab. Under Performance, click Settings. In the Performance Options window, click the Advanced tab again. Under Virtual Memory, click Change.
You will see a list of your drives. Select the drive where Windows is installed (usually C:). Uncheck "Automatically manage paging file size for all drives." Now you can set a custom size. Windows suggests a minimum of 1.5 times your RAM and a maximum of 3 times your RAM. If you have 8 GB of RAM, set minimum to 12,000 MB and maximum to 24,000 MB. Click Set, then OK, and restart your computer.
Do not set page file size higher than 3 times your RAM. You will waste hard-drive space without any real benefit. If you are constantly maxing out page file, you need more physical RAM, not a bigger page file.
How to increase page file size on Mac
You cannot manually change page file size on Mac. The operating system manages it automatically, and Apple does not give users a control panel for it. If your Mac is running out of memory, your options are closing programs, restarting your computer, or adding more RAM if your model allows it.
You can see how much memory you are using by opening Activity Monitor (search for it in Spotlight), clicking the Memory tab, and looking at the "Memory Pressure" graph at the bottom. If the graph is consistently in the yellow or red, your Mac is struggling. Restarting usually helps temporarily, but if it happens every day, you need more RAM.
The difference between page file and RAM
RAM is on a chip inside your computer and talks directly to your processor. Page file is on your hard drive, which is physically separate. Reading from a hard drive takes 100 to 1,000 times longer than reading from RAM. When your computer uses page file heavily, everything slows down noticeably — not because page file is bad, but because it is so much slower than the real thing.
Think of it like this: RAM is your desk. Page file is a filing cabinet across the room. When your desk is full, you can walk to the filing cabinet and grab what you need, but it takes longer. If you are constantly walking to the filing cabinet, you are not getting much work done. The solution is a bigger desk (more RAM), not a bigger filing cabinet (larger page file).
What happens if you set page file too high or too low
Set it too high and you waste hard-drive space. A 500 GB drive with 50 GB of page file leaves you less room for actual files, photos, and programs. Your computer also has to manage a larger page file, which uses a tiny bit of CPU time. The benefit is not worth the cost.
Set it too low and you are back where you started — your computer runs out of memory and freezes. If you set maximum to 4,000 MB but your programs need 6,000 MB of overflow space, Windows cannot give it to them. You get the same crash you were trying to prevent.
Why adding RAM is usually the better choice
If you find yourself regularly hitting memory limits, adding physical RAM solves the problem permanently. An 8 GB RAM upgrade costs $30 to $60 and takes 10 minutes to install on most computers. It is faster than page file, does not waste hard-drive space, and does not require you to restart your computer or adjust settings.
Page file is a safety net, not a solution. It keeps your computer from crashing when you temporarily exceed your RAM. But if you exceed it every single day, you need more RAM. Increasing page file just delays the problem.
Frequently Asked Questions
Will increasing page file make my computer faster?
No. Page file is slower than RAM, so using more of it actually makes your computer slower. Increasing page file prevents crashes, not slowness. If your computer is slow, the issue is usually too many programs running at once, not page file size.
How do I know what size to set page file to?
Windows recommends 1.5 to 3 times your RAM. If you have 16 GB of RAM, set minimum to 24,000 MB and maximum to 48,000 MB. Do not go higher than 3 times your RAM — there is no benefit and you waste hard-drive space.
Should I set page file to the same size on every drive?
No. Set it only on your fastest drive, usually your C: drive where Windows is installed. If you have a second hard drive, leave page file off it. Spreading page file across multiple drives does not help and can slow things down.
What if I restart my computer and the page file settings are gone?
You probably did not click Set before clicking OK. Go back to Virtual Memory settings, select your drive, uncheck automatic management, enter your custom sizes, click Set (this is the step people miss), then OK. Restart again.
Can I delete page file to free up hard-drive space?
You can set it to zero, but your computer will crash when RAM runs out. It is better to leave page file at a reasonable size (1.5 to 3 times your RAM) and delete old files or programs you do not use instead.