14

I bought a new system with 4 GB of RAM. I don't know how do I check how much swap memory I have allocated. I know that we can increase RAM physically. I want to increase swap memory on windows. How can I increase swap memory? Is that possible?

JaDogg
  • 629
Ramkee
  • 369

3 Answers3

21

Windows 8 and earlier

Taken directly from the documentation, which is the first Google result for "windows change swap space":

  1. Open System by clicking the Start button, right-clicking Computer, and then clicking Properties.

  2. In the left pane, click Advanced system settings. Administrator permission required If you're prompted for an administrator password or confirmation, type the password or provide confirmation.

  3. On the Advanced tab, under Performance, click Settings.

  4. Click the Advanced tab, and then, under Virtual memory, click Change.

  5. Clear the Automatically manage paging file size for all drives check box.

  6. Under Drive [Volume Label], click the drive that contains the paging file you want to change.

  7. Click Custom size, type a new size in megabytes in the Initial size (MB) or Maximum size (MB) box, click Set, and then click OK.

See also http://www.thewindowsclub.com/increase-page-file-size-virtual-memory-windows.


Windows 10

It's the same procedure, just a slightly different path to the settings dialog:

  1. Click the Start button and type "Computer" or "This PC", then right-click "This PC" in the search results, and click Properties.
  2. Resume at step 2 above.

Alternatively:

  1. Click the Start button and type "Advanced system settings", then click "View advanced system settings" in the search results.
  2. Resume at step 3 above.

Or from the command line or by typing in the start menu:

  1. Run SystemPropertiesAdvanced.exe (there's others, btw).
  2. Resume at step 3 above.

This all applies to Windows 7, 8, 10, and all earlier versions back to at least XP. Aside from possibly having to type the word "Computer" first, the procedure hasn't changed in just shy of two decades.

Jason C
  • 10,805
  • @ThatBrazilianGuy This procedure is for Windows 8 as well. – Jason C Aug 06 '14 at 19:04
  • What do the "Initial size" and "maximum size" actually do in Windows? Is there some reason to prefer one over the other, or any other specific relationship between the two? I'm familiar with swap on Unix systems but it isn't clear why, e.g., changing the Maximum size is allowed at runtime, but changing Initial Size requires a reboot — there is plenty of free disk space. – Conrad Meyer Sep 08 '20 at 00:08
  • 1
    Since this is now the first result when binging this (who uses google these days?), it deserves an update to Windows 10: https://www.pcgamer.com/what-are-page-and-swap-files-and-how-big-should-they-be/ – Rich Jun 05 '21 at 23:05
  • 1
    @Rich It's exactly the same, heh; you just have to type "Computer" in the start menu first. Or choose whatever your other favorite path to Control Panel -> System is. Updated. – Jason C Jun 05 '21 at 23:29
  • 1
    Nice edit - I suspect that "search in start" hook would work all the way back to Vista; and might even work on XP, 2k, and NT4. – Rich Jun 06 '21 at 00:28
  • @Rich Yeah, or right click the computer icon on the desktop if you've got it enabled. That'd work from 10 on back as well. ‍♂️ – Jason C Jun 06 '21 at 00:30
4

First of all, newer versions of Windows use mainly page file not swap file.

To check your current pagefile:

Win+R (Run...) -> sysdm.cpl -> Advanced -> performance -> settings -> Advanced -> Change -> custom size -> set

1

Its true, the process of all Windows when it comes to changing the virtual or paging file remains almost the same. You need to access your computer, control panel and follow procedures as shown in this way

Procedures : Windows 8

  1. Power on your machine and open all programs.

  2. Go to Control panel and then systems and security.

  3. Go to system and then to advanced system setting.

  4. Open properties, advanced and then settings.

  5. Click change, paging file settings and follow prompts.

Procedures : Others

  1. Go to advanced, settings and performance.

  2. Advanced, virtual memory and then Change.

  3. Click the drive you want to change, go to Paging file size for selected drive and add the new size of your choice.

based on this link

JaDogg
  • 629
Minute
  • 11