I was cleaning up my PC’s hard drive just now and found two files that is really big in size. The files are hiberfil.sys with 1.99GB and pagefile.sys with 768MB.
Delete hiberfil.sys
Both of this system files is at my C:\ drive and took up nearly 3GB of my hard drive space.

So what is this hiberfil.sys and pagefile.sys? How can I remove it from my system and is it safe to delete hiberfil.sys and pagefile.sys?

HIBERFIL.SYS is a file the system creates when the computer goes into hibernation mode. Hibernation takes everything in memory and writes it to your hard drive as the hiberfil.sys file. If you have 512MB of memory, then hiberfil.sys will be about 512MB. If you have 1GB, the file will be around 1GB. Even if you don’t use hibernation, hiberfil.sys will still take up this huge amount of disk space.
I have 2GB of ram in my laptop, that’s why my hiberfil.sys file is 1.99GB in size! Hibernation is enabled by default in Windows XP and since I don’t use hibernation at all, I might as well turn it off to get back my 2GB hard drive space and store something else.

Here’s how to turn off Hibernation in Windows XP.
Go to Control Panel and run Power Options.
Click on Hibernate tab and uncheck “Enable hibernation“.
How to disable Windows Hibernate
hiberfil.sys file will be automatically deleted and you’ll get back your hard disk space.

What about PAGEFILE.SYS which has taken up 768MB from my hard drive? Pagefile.sys is a virtual memory file. Normally the size of pagefile.sys is around 1.5 times of your physical memory size. My laptop memory used to be 512MB, and it has created a 765MB pagefile.sys file. Don’t know why pagefile.sys did not automatically update the size after I’ve upgraded my memory to 2GB. Windows uses this file for its normal operation however if you really need the space you can delete it after turning the virtual memory option off.

Here’s how to turn off Virtual Memory.
Go to Control Panel and run System.
Click on Advanced tab and click the Settings button on Performance.
Disable hiberfil.sys and pagefile.sys
Click on Advanced tab again and click on the Change button.
Select “No paging file” and click the Set button if you want to remove pagefile.sys.
Delete pagefile.sys

I wouldn’t recommend you to turn off your virtual memory unless you have lots of RAM. Virtual memory is an area on the hard disk that Windows uses as if it were RAM. So if you have very low RAM, maybe 256MB, turning virtual memory off will be a disaster. You will notice that your computer will struggle to multitask. As for my case, I have 2GB of physical ram and disabling paging file didn’t make any difference.

YAY! Now I have an extra of nearly 3GB free space to store downloaded stuff.

Technorati Tags: , , , ,