Is it possible to shrink hiberfil in Windows 8? [duplicate]

Solution 1:

You can change it. Start Command Prompt as Administrator and run the following command:

powercfg -hibernate -size PercentSize

PercentSize specifies the desired hiberfile size in percentage of the total memory. Its size cannot be smaller than 50.

The size of hiberfil.sys is 6 GB on my system with 8 GB of RAM. This is the default size chosen by Windows, I haven't changed it.

Solution 2:

The hibernation file has always the size of your RAM, because the whole RAM is stored there upon hibernation. The only think you can do is to disable hibernation if you do not use it and the file will be automaticaly deleted.