Set a Right-Sized Custom Pagefile
Manually cap the file to 2–4 GB on systems with 16 GB+ RAM, keeping emergency buffer.
- 1 Press Win + S, type advanced system settings, hit Enter.
- 2 Click ‘Settings’ under Performance → Advanced tab → Virtual Memory → Change.
- 3 Uncheck ‘Automatically manage’, select your C: drive, choose ‘Custom size’.
- 4 Set Initial size: 2048 MB, Maximum size: 4096 MB (double if RAM <8 GB).
- 5 Click Set → OK → Restart.