Saturday 17 May 2014

How to Free C drive by Compressing Hibernate File?

Hibernate feature is started with Windows XP and now available in all later versions of Microsoft Windows 7,8,8.1, which allows us to save the open applications and contents just like we pause a game while playing, All the open applications remain open we we power on the computer again. Basically whatever we open in our Computer remains in RAM and when we hibernate our computer that that portion of RAM is saved to secondary storage Hard Disk, which needs some space to be occupied by hibernate. So Microsoft has reserved some hard disk space  in the form of hiberfil.sys in C drive which occupies some portion of our Hard disk depending upon the size of RAM we have installed.



I have installed 6 GB of RAM in my laptop so here hiberfil.sis has occupied 4.71 GB of hard disk space. Now to free some space in C drive i can decrease the size of hibernate file with simple command.

powercfg hibernate size X

Here X is the percentage of RAM we want for hiberfil.sys, if we want 50% of RAM size to be reserved for hiberfil.sys then we can type 50 on the place of X.



powercfg hibernate size 50

Now file size of hiberfil.sys is 3GB, because i have 6GB of RAM installed in my Laptop. It was approx 4.7 GB before which was approx 80% of RAM installed on my Laptop.




We can give any size to the hiberfil.sys upto 100% of RAM installed in your PC.

No comments:

Post a Comment