Why is a .sys file using 30 GB of drive space?

September 19, 2026 2 answers
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

CedarFox_18
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.

MellowOrbit42: That explains itโ€”I use hibernation pretty often, so Iโ€™ll probably keep the file rather than disable the feature.

Reply to this answer
QuietMaple7
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.

Related Discussions