Pagefile.sys and hiberfil.sys

Associate
Joined
25 Feb 2010
Posts
476
Location
Bristol / Kent
Ok, so I was clearing out my SDD today because it was getting mighty full (97% filled). I couldn't work out where all the space was going, because other than programs and Windows I have no files on the SDD, they're all on a second/third HDD.
Anyway, I ran a disk analyzer and found that my Pagefile.sys is 12GB and hiberfil.sys another 9GB. Together that's well over a third of my SSD.
I thought I'd check here before I did anything stupid. But I'm planning on just skipping hibernate and using sleep from now on, so can I simply just delete the hiberfil.sys via the command prompt? Or is it not that simple?
Also, does anyone know a way to shrink the pagefile.sys? I have 12GB of DDR3 RAM installed so I really don't see why it is such a large file! Any ideas?
Cheers all :)
 
heres a guide you can use to change the size of the page file or move it to another drive if you dont know
how http://www.vistax64.com/tutorials/132201-virtual-memory-paging-file-change.html

since you have 12GB of RAM i recommend you set it to something like 512MB or 1024MB for both the min/max and leave it on your ssd

if you want to completely get rid of hibernation and reclaim your disk space type this in run or cmd "powercfg.exe -h off"

disabling it in the control panel is not enough the file will still exist
 
Excellent! Thank you so much for that! My SDD is back to 57% full :D
I descended to put the pagefile between 2048mb and 5120mb and see how that goes. I can always shrink it again should the need arise :)
 
Ideally you want the page file on another (non-SSD) drive anyway.....

Really? I read that I should only move the pagefile from the C drive unless the drive I was moving it to was at least as fast as the C drive? Given that I only have the one SSD, surely it's a good idea to leave it there?
Or does the pagefile simply not work well on SSD's?
 
Ideally you want the page file on another (non-SSD) drive anyway.....
Microsoft would disagree with you

Should the pagefile be placed on SSDs?

Yes. Most pagefile operations are small random reads or larger sequential writes, both of which are types of operations that SSDs handle well.

In looking at telemetry data from thousands of traces and focusing on pagefile reads and writes, we find that

* Pagefile.sys reads outnumber pagefile.sys writes by about 40 to 1,
* Pagefile.sys read sizes are typically quite small, with 67% less than or equal to 4 KB, and 88% less than 16 KB.
* Pagefile.sys writes are relatively large, with 62% greater than or equal to 128 KB and 45% being exactly 1 MB in size.

In fact, given typical pagefile reference patterns and the favorable performance characteristics SSDs have on those patterns, there are few files better than the pagefile to place on an SSD.
 
Ooh, thanks for this link! Very informative :)

12GB RAM?? Just turn it off alltogether, never had a problems with 6GB when switched off.
How much of you 6GB do you actually use though? I run a lot of virtual machines etc. and an a standard day can use well in excess of 10GB...

Also, I'd not bother hibernating - the boot time from off is pretty good with SSD's anyway, that'd save you a chunk of space :D
Yup, I've gone for this now. It's sleep during the day and then power off over night :)
 
if you want to completely get rid of hibernation and reclaim your disk space type this in run or cmd "powercfg.exe -h off"

disabling it in the control panel is not enough the file will still exist

I learnt something new today:)

Always done it via c-panel:p
thanks for info:cool:
 
Back
Top Bottom