hiberfil.sys - why is mine over 13gb?

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

hiberfil.sys - why is mine over 13gb?

Post by simonmlewis »

I have a 13gb hiberfil.sys file.
I've tried to switch hibernation off, then on again in CMD, but that isn't clearing it down. I'm also unclear why it's such a large file.

How do I clear it down, and perhaps set a max limit on it?

This is in Windows 8. I am logged in as an Administrator.

http://windows7themes.net/quickly-delet ... space.html
This tells you how to turn it on and off, but if you turn it on again, it's 13gb file 'returns'. Sure I am not running 13gb worth of data to be storeD? I have hardly anything open.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: hiberfil.sys - why is mine over 13gb?

Post by requinix »

Like the pagefile, the hibernation file will be as large as Windows deems necessary. If you don't want that file around then disable Hibernation.
simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

Re: hiberfil.sys - why is mine over 13gb?

Post by simonmlewis »

But why must it be 13gb?! That enormous. Sure 3-5gb is sufficient?
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
Eric!
DevNet Resident
Posts: 1146
Joined: Sun Jun 14, 2009 3:13 pm

Re: hiberfil.sys - why is mine over 13gb?

Post by Eric! »

Don't use windows.

In a command prompt you can type
powercfg -h off

This should remove the file automatically. To turn hibernation back on
powercfg -h on
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: hiberfil.sys - why is mine over 13gb?

Post by requinix »

simonmlewis wrote:But why must it be 13gb?! That enormous. Sure 3-5gb is sufficient?
Apparently not. I have 8GB RAM but a 6.5GB hibernation file. Your system is different.
simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

Re: hiberfil.sys - why is mine over 13gb?

Post by simonmlewis »

I have 16GB RAM.
So I guess it's just a slight reduction on the RAM size.
What a waste of storage.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
User avatar
twinedev
Forum Regular
Posts: 984
Joined: Tue Sep 28, 2010 11:41 am
Location: Columbus, Ohio

Re: hiberfil.sys - why is mine over 13gb?

Post by twinedev »

While you may not have much running at the moment, the storage file needs to be able to hold the entire contents of your physical ram. If you run a detailed defrag program, you (at least to on older system) would also see that the file is one continuous set of blocks to store the file. You have to remember that when it goes to dump the ram to the hard drive, all of windows "processing" has stopped, so it needs to have that location ready.
simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

Re: hiberfil.sys - why is mine over 13gb?

Post by simonmlewis »

It turns out my machine doesn't need it at all. So my IT Support people have disabled it.
Much better. And still starts up in 10 seconds.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
Post Reply