BlockLeftTop, PRELOAD BlockLeftBottom, PRELOAD BlockLeftStretch, PRELOAD BlockTop, PRELOAD BlockBottom, PRELOAD BlockStretch, PRELOAD BlockRightTop, PRELOAD BlockRightBottom, PRELOAD BlockRightStretch, PRELOAD
DeltaEngine

Disable Hybernation file (hiberfil.sys) if you have a small hard disk

by Benjamin Nitschke 20. February 2009 11:25

I recently build a new work pc and used a small SSD hard drive (64 GB) for it. I was using Windows 7 last week, but since so many programs (daemon tools), drivers (printer) and especially games (everything new?) did not work I just switched back to Windows Vista x64 SP1 yesterday.

One of the problems with this small SSD drive is that it gets full really quick. Especially with Vista, which takes almost 20 GB right out of the box. Then you have Visual Studio, all the tools and you are left with 20-30 GB. Our current project is huge and can take up to 37 GB (thanks to subversions great feature to double any project size, arg) and I still want it on my SSD drive because it is so much faster to work with many little source code files (Visual Studio is just not the same anymore, everything is soooooo much faster ^^).

Well, the point of the story is, with a really small drive it is kinda important to delete everything that I do not need. So I decreased the page file to 256 MB (from 6GB) and allowed the system to use the secondary drive to use a page file (there I have 500 GB free space). I also deleted everything I could from windows, program files or users (don't do this at home, I backed up everything on my Server where I have like 12 TB of space, hehe). A few more GB free space, yay. I also messed with Subversion and killed all the .svn directories for artist stuff I do not update very often, so I still got around 15 GB free right now :)

But I still wanted to delete the hiberfil.sys file, which takes up several GB too, but unlike Windows XP there is no option to do that. So you have to type in the following command (or create a simple .cmd file for that):

powercfg.exe -h off


And to enable it again type:

powercfg.exe -h on

which is useful if you really need hybernation. I use it all the time on my laptop, and Riley is using it in Alien too:



Comments


2/20/2009 12:19:33 PM #

Hi, nice blog.

There actually is a GUI method to delete the Hibernation file. If you go to drive properties for the drive containing the file, and choose Disk Cleanup, there is an option in the list called Hibernation File Cleaner, which disables Hibernation and deletes the file.

Also remember to either disable shadow volumes or delete older shadow volumes using that same dialog (second tab) every now and then, unless you rely on that system.

Michael | Reply



2/21/2009 12:29:00 AM #

Hey Michael,

yes, I did know about the Hibernation File Cleaner, but I thought it would just be temporary until Windows generates that file again (since there is no option to turn it on again). It also takes forever to do any Disk Cleanup, so I never use that.

abi | Reply



4/28/2010 3:48:10 AM #

I\'m happy I found this blog, I couldnt discover any info on this subject matter prior to. I also run a site and if you want to ever serious in a little bit of guest writing for me if possible feel free to let me know, i\'m always look for people to check out my site. Please stop by and leave a comment sometime!

Rapidshare | Reply



5/4/2010 6:11:35 PM #

Top Rapidshare Search engine

Rapidshare Search engine | Reply


Add comment




biuquote
  • Comment
  • Preview
Loading



Disclaimer: The opinions expressed in this blog are own personal opinions and do not represent the companies view.
© 2000-2011 exDream GmbH & MobileBits GmbH. All rights reserved. Legal/Impressum

Poll

Which platform should Soulcraft be released on next?











Show Results Poll Archive

Recent Games

Soulcraft

Fireburst

Jobs @ exDream

Calendar

<<  May 2012  >>
MoTuWeThFrSaSu
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910