Just the next step →

How much pagefile does Windows 11 need?

By Iikka Isosaari · Windows 11 · Updated

For a typical Windows 11 PC, leave the pagefile system-managed unless you have a measured reason to change it. A fixed multiple of installed RAM is not a universal sizing rule.

What the pagefile is for

A pagefile supports Windows’ committed-memory capacity and can support crash-dump creation. Its appropriate size depends on peak memory commitments and the configured dump type. Windows normally manages its size automatically, subject to available disk space.

Microsoft’s pagefile sizing guidance explains those two requirements. Having plenty of RAM does not automatically remove the need for a pagefile or a dedicated dump file.

Read the numbers before tuning

Open Task Manager, choose Performance → Memory, and find Committed. The first number is the current commitment; the second is the limit. It is different from the amount of physical RAM currently in use.

For example, a hypothetical reading of 18 / 32 GB means 18 GB committed against a 32 GB limit. It does not mean 18 GB has been written to the pagefile. A single idle reading also says little about what happens during your heaviest workload.

Watch the measurement while running your normal demanding applications. Record the peak, remaining disk space and any out-of-memory errors. Leave headroom for workloads you have not sampled. Increasing the limit alone does not establish that an application will run faster.

Use Hanki Performance to gather context

In Hanki, open Tune my PC → Memory. Memory & pagefile starts with a plain-language summary of memory headroom, committed memory, drive space and the biggest memory users, followed by pagefile guidance and the raw numbers. Memory health adds commit headroom and whether the pagefile can grow. Take that as a baseline, then use Tune my PC → Performance Lab → Monitor under a representative workload. Save each run to Performance sessions, so you can compare observations rather than relying on memory.

A lower average in the second run is not proof that a setting caused an improvement: open applications, background tasks and workload intensity may differ. Hanki’s pagefile guidance is advisory; pagefile changes are handled through Windows.

If a manual size seems necessary

First document the existing setting and why automatic management is unsuitable. Consider both your measured peak commitment and the dump configuration you want to preserve. Do not copy a gaming “optimization” value without checking those requirements.

On Windows, search for View advanced system settings, then open Advanced → Performance Settings → Advanced → Virtual memory. Review the current configuration before changing it. If you make a change, follow any restart prompt and measure the same workload again.

Do not delete pagefile.sys manually. If your goal is more disk space, start with the large-file guide. If the issue is missing crash evidence, use the unexpected-restarts guide to keep the wider investigation in view.

Questions about How much pagefile does Windows 11 need?

Should I set a custom pagefile size to improve gaming performance?

Not by default. A system-managed pagefile is usually a sensible starting point; review memory use and commit pressure before changing it.

Do memory cleaners replace the pagefile?

No. They do not add physical RAM and can move work into paging. Compare actual memory pressure and workload instead.