Friday, May 5, 2017

windows - 64GB SSD has a 12GB Pagefile


I have a Microsoft Surface Pro 3 and it came with a 64GB SSD as the main harddrive (note: Surface only has this drive, like a tablet). I am trying to free up some more space on my harddrive and WinDirStat's indicated that my largest file on the SSD is a 12GB pagefile. The second biggest being at 3.1GB which is a hiberfil.sys. On a normal system this wouldn't be a big deal, however with limited space I am wondering why I have such a large pagefile?


What is the best solution here? I don't want to disable the pagefile as sometimes I cap the RAM, however I don't see why it would create such a large pagefile.


Answer




  • disable hibernation (This is optional — doing this step will remove hiberfil.sys)

    • powercfg.exe -h off in a command prompt will achieve this

    • this will completely disable hibernation, so you have to be able to live with that


  • reduce the size of pagefile

    • to open the settings for virtual memory (pagefile) use the Run-dialog Windows + R and enter the command sysdm.cpl then press Enter

    • in advanced "System Properties" select the Tab "Advanced" and click the Button "Settings"

    • in the "Performance Options" window select the tab "Advanced" and click the "Change..." button

    • in "Virtual Memory", please uncheck the box "Automatically manage paging file size for all drives"

    • set the radio button "User managed size", enter your desired paefile size (in MB) and hit "Define"



No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...