What do I do about the pagefile and hiberfil files?

keenan123

Reputable
Feb 25, 2014
1
0
4,510
Hello all, the problem I'm having is that I am running a 250gig SSD as my main drive, and have 2 1TB drives set up in a mirror RAID. The 1TB raid partition has over 600gigs of free space. However the issue I'm having is that the SSD only has 10 gigs of space left when really I have only used about 150 gigs including windows files. I ran windirstat and found the pagefile.sys to be 84 gigs, and the hiberfil.sys is 24 gigs. What should I do to make those files smaller? Can i move them to the other drive? Can i just get rid of the pagefile all together? Any help would be greatly appreciated because I need space cleared up on that drive.

My computer is a custom build as follows:
Gigabyte X79-UP4 motherboard
Quadro Graphics cars
32 gigs of RAM
Windows 7 64 bit
 
Solution
hiberfile - turn it off. It consumes drive space equal to your RAM
From an elevated command prompt:
powercfg.exe -h off
Press enter.

Pagefile - set it to 1GB min and max. Some people have gotten rid of it altogether, but some applications and services may balk at that.
page files are good as some old software still uses it regardless of the amount of your ram.

to move it ,right click on my computer, select properties, advanced system settings, select the 3rd tab, first button under performance for virtual memory. go thee and first set it to use your RAID drive, then set it to 0 for the c drive. the hib you have to disable hibernation, it's somewhere in the power settings i think.
 

That's an old, no longer valid rule. If you want full memory dumps on BSOD you must have a page file equal in size to installed memory on the system volume. Otherwise you can go ahead and move it to another drive. Just don't set it to 0 system wide as it will cause problems down the road. Windows requires at least a minimal page file.
 

USAFRet

Titan
Moderator
hiberfile - turn it off. It consumes drive space equal to your RAM
From an elevated command prompt:
powercfg.exe -h off
Press enter.

Pagefile - set it to 1GB min and max. Some people have gotten rid of it altogether, but some applications and services may balk at that.
 
Solution