Configure Windows 11 Virtual Memory for Low RAM

Configuring the virtual memory (paging file) size in Windows 11 allows your system to use storage drive space as temporary RAM when physical memory runs out. This guide provides a straightforward method to manually set the initial and maximum page file sizes, preventing out-of-memory crashes, stuttering, and application freezes on systems with 4 GB or 8 GB of physical RAM.

Before adjusting settings, calculate your target values based on standard memory management formulas:

Examples: * 4 GB RAM: Initial Size = 6,144 MB | Maximum Size = 12,288 MB * 8 GB RAM: Initial Size = 12,288 MB | Maximum Size = 24,576 MB

(Note: 1 GB = 1,024 MB)


Step-by-Step Configuration in Windows 11

  1. Open Advanced System Settings:
    • Press Windows Key + R, type sysdm.cpl, and press Enter.
  2. Access Performance Options:
    • In the System Properties window, click the Advanced tab.
    • Under the Performance section, click the Settings… button.
  3. Navigate to Virtual Memory:
    • In the Performance Options window, select the Advanced tab.
    • Under the Virtual memory section, click Change….
  4. Disable Automatic Management:
    • Uncheck the box labeled Automatically manage paging file size for all drives.
  5. Set Custom Sizes:
    • Select your fastest drive (preferably an SSD with your Windows installation, usually C:).
    • Select the Custom size radio button.
    • Enter your calculated values into the Initial size (MB) and Maximum size (MB) fields.
  6. Apply and Restart:
    • Click the Set button (required to register the changes).
    • Click OK on all open dialog windows.
    • Restart your computer to apply the new virtual memory settings.

Best Practices for Low-RAM Systems