Remove hibernation file hiberfil.sys

With the increasing popularity of Windows 7, many friends have installed Windows 7, but Windows 7 is not as slim as Windows XP, just install the new Windows 7 system without installing any software, which takes up a lot of hard disk space. In fact, there are a lot of things we don't need, these things are removed from our computer, not only do not affect the system, but also greatly save space.convert word to pdf online free without losing formatting Today, we will introduce some of the best ways to save disk space on Windows 7.

1. Remove hibernation file hiberfil.sys

Many people often don't understand what exactly computer hibernation is. In fact, there are two low-power operating states in a computer: sleep and hibernation. Our computers usually use the sleep function, that is, the computer does not require a certain amount of time, enter a low-power state, the work attitude is stored in memory, the recovery time of 1-2 seconds can be restored to the original state of work. This function is very practical and most commonly used. However, hibernation is to pass all the memory information in the working state to the hard disk, take 4G memory as an example, i.e., write 4G files to the hard disk, and then shut down the computer. Boot recovery reads the 4G file to memory and restores the original working interface.merge 2 jpg files into 1 pdf And the reading and writing of the 4G file took a lot of time, has been no less than normal startup, so now the sleep function is not practical.Hiberfil.system is a file used to store the memory status during hibernation.The C drive will take up the same amount of memory space (e.g. to 4G RAM, the file is 4G as well), so it can be deleted without affecting the use of everyone.

How to do it:Run CMD with administrator privileges and type the following command:POWERCFG -H OFF to delete the file automatically.

(How to run with system administrator: Right click on "All Programs" -> "Accessories" -> "Command Prompt" and select "Run as administrator"). (Run as administrator)

2. Correctly set the virtual memory

Memory plays a big role in the computer, all the programs running in the computer need memory, if the execution of the program is very large or a lot, it will lead to memory consumption.pdf editor free In order to solve this problem, WINDOWS uses virtual memory technology, that is, to take out part of the hard disk space as memory, this part of the space is called virtual memory, in the form of PAGEFILE.SYS page file on the hard disk. Virtual memory is only to supplement the lack of physical memory, so do not mythologize, virtual memory read and write performance (i.e., disk read and write speed) is only a few dozen physical memory performance, and high-frequency read and write operations on the hard disk damage! Easy hard disk bad sectors! If you can't use it, don't use it, and you can use it sparingly and sparingly! This rule is enough to leave a little leeway.

In the Win7 system environment, the memory is generally 512MB. according to the actual memory occupancy, the virtual memory can be set to 512-768MB (the sum of memory + virtual memory is generally higher than the normal occupancy of 256MB). 1GB of RAM, according to the actual use of the memory occupancy, you can set the virtual memory to 128-512MB (the sum of memory + virtual memory is generally higher than the normal occupancy of 256-512MB higher). If the RAM is 2G or more, you can generally disable virtual memory (if there are software restrictions, you can set a small amount of virtual memory, such as 128MB). Some people who do use a lot of memory, such as playing large 3D games, creating large images, 3D modeling, etc. , and receive warnings that the system is running out of memory, need to increase the virtual memory appropriately.

You can usually disable the virtual memory first, restart the computer into safe mode (don't run a lot of programs at this time) , then defragment it, and after you finish resetting the virtual memory, you can make the page files defragmentation-free and read/write faster. Or use PE/emergency disk to boot the system, delete the page files, defragment the disk, and reboot. Take WIN7 for example, right-click "Computer", Properties, Advanced System Settings, Performance > Settings... Advanced, Virtual Memory > Change... Auto Manage Cancel, Customize Size, Settings, OK, Exit and Restart.

3. Compress C:Windowswinsxs folder

This project folder is the system for the installation of a folder, most of the work time is not used, compressed to save more than 1GB of disk data space. Methods: First get WINSXS folder read and write permissions (the default network administrator of this target folder only through the read permission), then you can select WINSXS point the right mouse button, General --> Advanced ... --> Compress the teaching content to save disk storage space. The compression production process takes 10-30 minutes, depending on the technical performance requirements of the hard disk.

With the above three-step setup, your Windows 7-only system will free up a lot of space on your disk, so you can use that space to install more of the software you need.

set the virtual memory Windowswinsxs folder write faster