Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: hiberfil.sys how to downsize it? It takes up 17.92GB

25 Dec 2014   #1
Max Pen

Windows 7 Ultimate 64-bit
hiberfil.sys how to downsize it? It takes up 17.92GB

Before you say that is alot it used to be less, 8 GB I think.

That was before I added 2 more memory slots that add 16GB to the current 8GB RAM memory.

So I used the command:


in eleveted command prompt to downsize it to 75% of its current size and it said: (after some 5 min of complete pc freeze)

The hiberfile size has been set to: 19246460928 bytes.

But when I go look it is still the same size!

So how does this work? Should I delete the file and turn hibernate on and off again?

Is there any other way other then disabling hibernate to decrease its size?

Some program made for this or so?

ps: I may not be able to reply in the coming days, as I leave for a trip to Paris tomorrow.

My System SpecsSystem Spec
25 Dec 2014   #2

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64

in eleveted command prompt to downsize it to 75% of its current size
The command sets the file size based on the amount of RAM installed.
If you have 24 GB RAM, 75% = 18 GB

You could set it 50% and check the file size to make sure the command is working.
Here is a tutorial by Brink:
Hibernate - Change Size of hiberfil.sys File
My System SpecsSystem Spec
26 Dec 2014   #3

Windows 10 Pro X64

Maybe don't use Hibernate, disable it.
My System SpecsSystem Spec

26 Dec 2014   #4

Windows 7 Pro 64 bit

Hibernation involves saving the contents of RAM to hiberfil.sys so operation can resume when coming out of hibernation. A larger RAM size of course requires a larger hiberfil.sys file. By default the size is 75% of RAM size but can be set as low as 50%. A size less than 75% is not recommended as it may result in hibernation failure. A hiberfil.sys file less than RAM size is possible only because compression is used. Even at 75% hibernation failure is possible and 100% is recommended for complete safety.

At 75% and 24 GB RAM the current size is about right.

The hiberfil.sys file must be in the root of the Windows volume. There is no provision for moving it.

If you wish to use hibernation that is the reality.
My System SpecsSystem Spec

 hiberfil.sys how to downsize it? It takes up 17.92GB

Thread Tools

Similar help and support threads
Thread Forum
windows 10 C drive = 92gb? all files on C drive = 32gb?
hi, when i click on my computer and bring up my drives, i hover over C drive and click properties and its shows 92gb used, when i go into C drive and highlight all folders it only equals 32GB, where has 60gb gone? this was a windows 7 pc with a windows 10 upgrade. also all games are installed...
Performance & Maintenance
8GB of RAM installed, only 1.92GB usable
Hey all, I've recently built a new PC with 8GB of RAM installed on the motherboard (2 sticks of 4GB). The operating system is Windows 7 Ultimate 32-bit. When checking over my specifications, everything was in order apart from the RAM which stated 8GB was installed, but only 1.92GB were usable. ...
Hardware & Devices
Hiberfil.sys 6gb why
I have Sleep and Hibernation disabled. I don't use either one of them. Never have used either. I shut my computer off when done. The problem is I still have hiberfil.sys with 6 GB. Can I remove that 6 GB or does it do something else other that Hibernation? What I'm not understanding about this 6...
General Discussion
What is the 'hiberfil.sys' is for? My setting for Hibernate after Setting is 'Never'. I thought this setting will not create 'hiberfil.sys'.
General Discussion
Why do I have this file sitting on c: when Ive never used hibernation and can it be safely removed?
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 20:54.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App