C:\ Full
Mayayana wrote:
"KenW" wrote
| So how do I delete hiberfil.sys ???
|
| From an Admistrator's Command Prompt powercft -h off
I guess that's fine, but I don't remember ever having
to do anything special to delete it, as long as it's not
in use. Same with pagefile.sys. As long as it's moved
off of C drive, the file should delete without problems
after a reboot.
Turning off hibernation
powercfg /? # check the syntax on your OS
powercfg -h off # disabling hibernation
powercfg /h off
deletes the hiberfile and the space it took.
It's possible to set the hiberfile to a "percentage"
of system RAM. The hiberfile is likely using a light-weight
compressor, so a 50% to 75% size should be sufficient.
If you're a pathological user, someone who fills RAM
on purpose with random data and holds the data there,
then you might succeed in preventing hibernation from
working properly. A Verilog or VHDL simulator could be
used to achieve such a result. Or you could run Microsoft
ICE on a panorama, then hibernate in the middle of a calc.
Only the portion of RAM mapped as "active" is recorded.
An idle desktop, could in principle be written out
as a 350MB image. Even if your hiberfile has a static
allocation 50GB in size, only the first 350MB would
need to be written in that case. Since it's hard to
study hibernation, I don't know if "cache spaces" are
recorded in the hiberfile, or if the OS is clever enough
to only record the minimal resources to make things work.
It should be flushing the System Write Cache before
contemplating shutdown, and only then doing the
Hibernate math.
Paul
|