Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to the Power Users community on Codidact!

Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.

I want to delete or shrink huge files that take a lot of space on hard drive

+1
−1

Windows has some huge sized files:

  • pagefile.sys 15.1 GB
  • hiberfil.sys 3.2 GB
  • Apps.ppkg 2.1 GB

How can they be shrunk? Or is it maybe safe to delete them?

History

1 comment thread

Before blowing away pagefile.sys, you might want to understand what virtual memory and paging is. (1 comment)

1 answer

+2
−0

You can't delete them directly, but you can disable/configure the features in Windows.

hiberfil.sys is related to hibernation and usually has the size of the memory installed in the machine. If you use hibernation, you need this file. If you don't use hibernation, you can disable the feature by running this command in an elevated command prompt:

powercfg.exe /hibernate off

pagefile.sys is your virtual memory, also known as a swap file. Memory that is currently not being actively used is swapped out to it to free up memory for running processes. It is not recommended to disable swap, but you can reduce the size if you don't need all of it.

Open sysdm.cpl, either by running Win+R, or by just typing it with the start menu open.

  1. go to Advanced
  2. under Performance click on Settings
  3. Under Virtual Memory, click on Change

Here you can select automatic management of your virtual memory files, or specify a size per drive.

You can also disable it completely, but as already mentioned, this is not recommended.

History

0 comment threads

Sign up to answer this question »