Useful shortcuts for vi editor

Thursday 5 February 2015

What is "hiberfil.sys" file?

hiberfil.sys file is using when system goes to hibernate mode that all your session information are stored in this file. After system goes up, system uses this file to restore your last session.

To modify size of it;
powercfg -h -size 70
(it means hiberfil.sys file size will be the half of system RAM size)
(also, percentage should be at least %50 in here)

To disable it;
powercfg -h off

If you disable itpagefile.sys file size is same with system RAM size probably.

Reference: http://ozsoyler.blogspot.com.tr/2015/02/how-to-change-windows-swap-size.html