After normal installation, Windows 7 will occupy 10G-15G hard disk space
1. Delete hiberfil.sys
Many users have not figured out what is computer hibernation. In fact, there are two kinds of low in the computer. Power running state, sleep and sleep. The common function of our computer is the sleep function, that is, the computer enters the low-power state after a certain period of time, and the working attitude is stored in the memory, and the original working state can be restored in 1-2 seconds after the recovery. This feature is very useful and is the most commonly used. However, hibernation is to write all the memory information into the hard disk, taking 2G memory as an example, that is, to write 2G files to the hard disk, and then shut down, boot recovery to read 2G files to the memory, in order to restore the original work interface . The reading and writing of 2G files takes a lot of time, which is no less than normal booting, so the hibernation function is not very practical now.
HIBERFIL.SYS is the hibernation file in the system. This file is used to save the memory state during sleep. It will occupy the space equivalent to the memory capacity of the C drive (for example, 2G memory, this file is also 2G). So it can be deleted without affecting everyone's use.
Operation method: Run CMD with administrator privileges, execute the command: <;powercfg -h off” automatically delete the file.
2, correctly set the virtual memory
memory in the computer has a great effect, all running programs in the computer need memory, if the program is very large or a lot, it will lead to memory exhaustion. In order to solve this problem, Windows uses virtual memory technology, which takes out part of the hard disk space to act as memory. This part of the space is called virtual memory. The virtual memory exists on the hard disk in the form of PAGEFILE.SYS. Virtual memory is only a supplement to the lack of physical memory, so do not deify, virtual memory read and write performance (that is, hard disk read and write speed) only one-tenth of the physical memory performance, and high-frequency read and write operations on the hard disk damage Big! It is easy to appear bad sectors on the hard disk! If you don't need it, you can use it less. If you can use it less, you can use it less! The principle is enough to use + a small amount of allowance.
Windows 7 system environment, generally 512MB of memory, according to the actual use of memory, you can set the virtual memory to 512-768MB (memory + virtual memory and generally higher than the normal occupancy of 256MB). 1GB memory, according to the actual memory usage, you can set the virtual memory to 128-512MB (the sum of memory + virtual memory is generally 256-512MB higher than the normal occupancy). Memory is 2G and above, you can generally disable virtual memory (software limited to a small amount of virtual memory, such as 128MB). Some people who do use a lot of memory, such as playing large 3D games, making large pictures, 3D modeling, etc., and receiving warnings about system memory shortages, need to increase virtual memory as appropriate.
Generally, you can disable the virtual memory first, restart the computer into safe mode (do not run a lot of programs at this time), and then defragment, reset the virtual memory after the completion, so that the page file does not contain fragments, read and write faster . Or use the PE /emergency disk to boot into the system, delete the page file, defragment the disk, and restart.
Windows 7 as an example, & ldquo; computer & rdquo; right, properties, advanced system settings, performance > settings ..., advanced, virtual memory > change ..., automatic management cancellation, custom size, settings , OK, exit reboot.
3, compression C: Windowswinsxs folder
This folder is the system installation folder, most of the time is not used, can save more than 1GB of disk space after compression. Method: first obtain the read and write permissions of the WINSXS folder (the default administrator only has read access to this folder), then select WINSXS right mouse button, regular --> advanced...--> compress content to save disk space. The compression process takes 10-30 minutes, depending on the performance of the hard drive.
With the above three steps, your Windows 7 pure system should only occupy about 6G of disk space.