Search This Blog

Thursday, January 15, 2015

HIBERFIL.SYS and PAGEFILE.SYS space hogs:

Removing and/or reducing HIBERFIL.SYS and PAGEFILE.SYS space hogs:
When checking space on hard drives using WinDirStat or SpaceSniffer you may find VERY
LARGE hiberfil.sys and pagefile.sys showing up taking up HUGE amounts of space.
- i limited pagefilesys from 2000 to 4000 (only on certain machines)
- i turned off hibernation using admin elevated cmd line
- I use system explorer, running always, to
have display of CPU and Memory usage in the task bar

- http://systemexplorer.net/ It’s FREE and awesome

PAGEFILE:
Go to Control Panel >System>Advanced System Settings>Performance Settings>Advanced>Virtual Memory. Set it to "custom
size" and select a size (in MB). 
Change drive location of Pagefile to use
both physical drives, less on the OS drive for better performance:


http://superuser.com/questions/237813/how-can-i-move-the-page-file-to-another-physical-disk-location

- Open “Command prompt” which you find in All Programs>Accessories
(run as admin)
type : powercfg -h off
then hit Enter. DONE.

- Excerpt: (If you don't do anything that demands loads of
RAM, since you have 12gb RAM, you could set it to a small amount (4gb or so) or
even disable it, depending on what you do or what applications you run. Worst
case, you disable it, and launch several apps or games, and get an "out of
memory" error. Just increase it and reboot.)

- Exploring options of changing drive location of Pagefile to use both physical drives, less on the OS drive for better performance:

ALL about Optimizing Virtual Memory:
http://technet.microsoft.com/en-us/magazine/ff382717.aspx

MORE about virtual memory and pagefilesys:
http://www.vistax64.com/tutorials/132201-virtual-memory-paging-file-change.html


HIBERNATION

TURN OFF Hibernation completely, removing Hiberfil.sys
after startup:


excerpt:
In case you want the hibernate function but not want it that back you can trim it to half
the size 
First turn it off

powercfg /h
off

(you might
want to reboot here)

the turn it on with half the size (in percent)

powercfg /h
/size 50

Unfortunately you cannot go under 50%

The page
file size can be reduced by opening System Properties, by right click-ing my
computer, select properties. Select Advanced system settings, in the windows
called System Properties select Advanced, and click Settings to get Performance
Options and select Advanced again. Observe the current size of the page file
and click Change... . Default this is 1.5 times the size for large amounts of
memory. I set this to custom size of 2000 Initial and Maximum 4000

No comments:

Post a Comment