Batu69 Posted July 28, 2016 Share Posted July 28, 2016 When hibernation is enabled in Windows 10, the operating system creates a file called hiberfil.sys in the root of your C: Drive. This hiberfil.sys stores the contents of memory (RAM) when you hibernate your PC. When you resume from hibernation, Windows reads this file again and transfers its contents back to memory. Because memory capacities on modern PCs are always increasing, the hibernation file takes up considerable disk space. Here is how you can compress the hibernation file and reduce its size in Windows 10. Although you can disable hibernation and use sleep state or always keep your PC powered, it's not an energy-efficient way for mobile PCs. Also, features like Fast Startup in Windows 10 depend on hibernation being enabled to boot the OS faster. If you disable hibernation, you lose the benefits of fast boot. To solve the problem of increasing RAM capacities, Microsoft added the ability to compress the hibernation file in Windows 10. This means that the C:\hiberfil.sys file does not take as much disk space as your RAM capacity. It can take significantly less disk space, even 50% of your installed RAM capacity. This is a fantastic improvement Microsoft has made in Windows 7 and later, but it's turned off by default. Let's see how to turn it on. How to reduce the hibernation file (hiberfil.sys) size in Windows 10 Open an elevated command prompt. Type the following command: powercfg hibernate size NN where NN is the desired hiberfil.sys size in percentage of the total memory. For example, if you have 8 GB of RAM installed and you want to set the hibernation file size to 60% to save disk space. Then simply use this command: powercfg hibernate size 60 This will set the hibernation file to 60% of 8 GB of RAM, meaning only 4.8 GB. It will save you 3.2 GB of disk space. The size you specify cannot be smaller than 50. If you have hibernation turned off, the powercfg hibernate size switch will automatically enable hibernation. You can see the size of the C:\hiberfile.sys file in Explorer in gigabytes (GB) by selecting it or opening its Properties. Normally, this system file is hidden so you may need to turn on the setting to show hidden files as mentioned in step 2 of this article. Article source Link to comment Share on other sites More sharing options...
A.lemane Posted July 28, 2016 Share Posted July 28, 2016 whats the worst case scenario that can come out of this ? Link to comment Share on other sites More sharing options...
straycat19 Posted July 28, 2016 Share Posted July 28, 2016 4 minutes ago, A.lemane said: whats the worst case scenario that can come out of this ? Worst case would be your hibernation file fills up your small SSD. It is just a space waster. Most modern computers boot so fast that using hibernation isn't as popular as it once was. By using it you could get your computer up and working faster than by cold booting. Personally I can't remember the last time I used it, I always turn it off and delete the file from the drive. Link to comment Share on other sites More sharing options...
Holmes Posted July 28, 2016 Share Posted July 28, 2016 You can turn hibernation off by using the command line in this website: http://www.tenforums.com/tutorials/2859-hibernate-enable-disable-windows-10-a.html Go into command prompt run the command prompt in administrator and type: powercfg -h off You can turn it back on if you want to by typing: powercfg -h on I just turned hibernation off and deleted my file a long time ago. Link to comment Share on other sites More sharing options...
Pete 12 Posted July 28, 2016 Share Posted July 28, 2016 Yes, its a SSD-killer and dont need it , so removed it also. Booting this Win10 within 10 seconds ,without all this "fastboot/hibernation-crap"........... Link to comment Share on other sites More sharing options...
mikie Posted July 28, 2016 Share Posted July 28, 2016 Windows 10 has always automatically compressed the hiberfil.sys in my installs... default is always 40% of max ram here. Right now default size showing in c:\ is 6,687.888kb with 16gb of ram installed. Link to comment Share on other sites More sharing options...
Ryrynz Posted July 29, 2016 Share Posted July 29, 2016 14 hours ago, Pete 12 said: Yes, its a SSD-killer and dont need it , so removed it also. Booting this Win10 within 10 seconds ,without all this "fastboot/hibernation-crap"........... Would recommend keeping it for HDD systems so that fast startup is active. If you aren't using the space then at least use it for something productive.. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.