Monday, June 1, 2009

What are HIBERFIL.SYS and PAGEFILE.SYS?

These are system-generated files. They are used by Windows for hibernation and virtual memory control.

* HIBERFIL.SYS is a file the system creates when the computer goes into hibernation mode. Windows uses the file when it is turned back on. If you don't need hibernation mode and want to delete the file you need to turn the hibernation option off before Windows will allow you to delete the file...
o Start | Control Panel | Power Options
o Go to the Hibernate Tab
o Uncheck the Enable Hibernation box if you don't need the hibernation function

* PAGEFILE.SYS is the virtual memory file. Typically, on install, Windows sets the size of the file at around 1.5 times your physical memory size however this size will vary depending on the amount of free space on the disk when the file is established and other factors. Most will find the default size works fine but it can be changed. 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 but be aware that this can cause extreme instability in Windows to the point where it might stop so do this at your own risk...
o Start | Right Click on My Computer | Select Properties from the menu
o Select the Advanced Tab
o Select Performance Settings
o Select the Advanced Tab
o Under virtual memory use the Change button to either set the size you want or turn it completely off. Note that if you turn it off or make the value too small you may notice a system slowdown or Windows may stop. Windows wants to use this file and if it's set to zero then in addition to a slowdown while running, on system shutdown you may think Windows has hung due to the extra time involved. You may have to experiment a bit if you set it lower than some minimum. The best advice would be to leave the file alone. The Elder Geek has a tutorial on the paging file that describes how to change its size in more detail.

No comments:

Post a Comment