Change Virtual Memory (Page File) in Windows 11

Learn how to set a custom page file (virtual memory) size in Windows 11 to reduce low-memory warnings or improve behavior with heavy apps and multitasking — no extra software required.

What the video covers

Show how to change the paging file (virtual memory) settings in Windows 11 through system settings so Windows uses a custom page file size.

Watch the video on YouTube

Step-by-step instructions

  1. Open System About in Windows Settings
    Click Start, open Settings, select System, and then open About (as shown in your system Settings).
  2. Open Advanced system settings
    In the About page, click Advanced system settings to open the System Properties dialog.
  3. Open Performance settings
    In System Properties, click Settings under Performance to open Performance Options.
  4. Open Virtual memory dialog
    In Performance Options go to the Advanced tab and click Change under Virtual memory.
  5. Disable automatic management and set sizes
    Uncheck 'Automatically manage paging file size for all drives'. Select the drive to use, enter an Initial size and Maximum size (in MB), then click Set.
  6. Save and restart
    Click OK on the open dialogs to apply changes and restart your PC so Windows begins using the custom page file.

Watch the video

Video thumbnail for Change Virtual Memory (Page File) in Windows 11 Play tutorial

Watch on YouTube

Why it matters

Adjusting the page file can help systems with limited physical RAM or heavy workloads by giving Windows a larger or more appropriate virtual memory allocation, which can reduce memory warnings and improve stability for memory-heavy apps.

Check your result

After restarting, open Task Manager or repeat the Virtual memory dialog to verify that the selected drive shows the custom Initial and Maximum sizes and that Windows is using the configured page file.

Troubleshooting

– If the Set button is disabled, ensure 'Automatically manage paging file size for all drives' is unchecked. – If Windows warns about insufficient disk space for the maximum size, reduce the values or choose a drive with more free space. – If performance worsens after changes, revert to previous settings or re-enable automatic management and restart.