How to delete the hibernate file hiberfil. sys saves a lot of disk C Space

Source: Internet
Author: User
Tags sleep function

Teach you a trick {
Tagshow (Event)
} "> Delete sleep {
Tagshow (Event)
} "> The file hiberfil. sys saves a lot of disk c {
Tagshow (Event)
} "> Space
First, we need to distinguish sleep from Hibernate sleep.
We usually use sleep {
Tagshow (Event)
} "> Function, that is {
Tagshow (Event)
} "> After a certain period of time, the computer enters the low power consumption state, and the work attitude is saved in {
Tagshow (Event)
} "> In the memory, the original state can be restored 1-2 seconds after recovery. This function is practical and most commonly used.
Sleep writes the working status (that is, all memory information) {
Tagshow (Event)
} "> Hard disk, if there is 2-4g memory, that is, to write 2-4g files to the hard disk before shutdown ,{
Tagshow (Event)
} "> The original interface can be restored only when 2-4 GB files are read to the memory after the instance is restored. reading and Writing large files takes a lot of time, no less than normal boot, so the sleep function is not practical now (for memory larger than 1 GB ).
The dormant hiberfil. sys is used to save the memory status during sleep. disk C occupies space equivalent to the memory capacity (take 2 GB of memory as an example, this file is also 2 GB), so you can delete it without affecting your use. it will greatly save the space occupied by drive C.
Operation:
Run cmd as an administrator and run the following command:
Powercfg-H off
That is {
Tagshow (Event)
} "> The file is automatically deleted. You can see the changes in disk C space before and after the process.

How to run as an administrator:
In "all {
Tagshow (Event)
} "> Program"-> "attachment"-> "command prompt", right-click, and select "Run as administrator"

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.