Why is a .sys file using 30 GB of drive space?
Asked by
MellowOrbit42
My drive keeps filling up even though I don't have much installed. I checked the disk with WinDirStat and found that a .sys file is using around 30 GB. The file is hiberfil.sys, and this Windows installation is fairly old. Why is it so large, and what can I do to reduce or remove it?
Answers
hiberfil.sys is the file Windows uses to save your memory contents when you hibernate. Its size is generally related to how much RAM you have, so a large file can be normal. If you donโt need hibernation, open an elevated Command Prompt and run `powercfg.exe /hibernate off`; this removes the file and frees the space. The tradeoff is that hibernation will no longer be available.
Reply to this answer
Make sure youโre looking at the exact filename. pagefile.sys is the virtual-memory paging file and can also be quite large, while hiberfil.sys is specifically for hibernation. The two files serve different purposes, so donโt reduce or delete the page file just because hiberfil.sys is taking up space.
Reply to this answer
Add your answer
Answers are reviewed before publication.
MellowOrbit42: That explains itโI use hibernation pretty often, so Iโll probably keep the file rather than disable the feature.