Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Manage Virtual Memory and the Page File in Windows

Find the Windows page file settings, check your commit limit, and decide whether system-managed sizing is right for your PC.

Table of Contents

Leave Windows set to manage the paging file automatically unless you have a specific reason to size it yourself. A page file increases the amount of memory Windows can commit and can help avoid allocation failures. Disk-backed memory is slower than RAM, so a larger page file does not make a memory-heavy workload run as quickly as adding physical RAM.

Open the Virtual Memory settings

  1. Press Windows + R, enter sysdm.cpl, and open the Advanced tab. You can also reach it through Advanced system settings.
    How to set virtual RAM on Windows to increase performance Picture 1
    How to set virtual RAM on Windows to increase performance Picture 2
    How to set virtual RAM on Windows to increase performance Picture 3
  2. Under Performance, select Settings. Open its Advanced tab and choose Change under Virtual memory.
    How to set virtual RAM on Windows to increase performance Picture 4
  3. If you want Windows to handle sizing, check Automatically manage paging file size for all drives. Apply the change and restart if prompted.
    How to set virtual RAM on Windows to increase performance Picture 5
    How to set virtual RAM on Windows to increase performance Picture 7
    How to set virtual RAM on Windows to increase performance Picture 8

Check whether the page file is limiting you

In Task Manager, go to Performance > Memory and note Committed while running the workload. Windows shows current committed memory and its limit. If usage repeatedly approaches the limit, check that a page file is enabled and its drive has free space. If the PC regularly slows down while it pages, close memory-heavy apps or consider adding RAM.

Use a custom size only when you can justify it

The old rule of setting the page file to 1.5 times installed RAM does not account for actual workload or crash-dump requirements. If an administrator or vendor specifies a custom size, select the intended drive, enter the documented values in MB, and click Set before applying. See Microsoft’s page file sizing guidance.

How to set virtual RAM on Windows to increase performance Picture 6
Older custom-size example. Use values based on your workload and dump requirements.
Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.