The system hibernation function will generate a hidden system file: Hiberfil.sys in the root directory of drive C, which is exactly the same size as your own physical memory. When you put your computer into hibernation, Windows will write all the memory contents to hiberfil.sys file before shutting down the system. Then, when you turn on the computer again, the operating system uses Hiberfil.sys to put all the information back into the memory, and the computer returns to the state before it was turned off. But Windows will not delete this file, but save it on the hard disk, which will take up some disk space in vain. With the sleep function, you can choose not to use it. This takes up a lot of hard disk space. Turning off sleep can free up quite a lot of space, as much memory as you can. For example, if your memory is 4G, you can free up 4G space.
Methods of safely deleting hibernation files under Win7 and Win8;
Run cmd.exe as an administrator, open a command line window, and then run: powercfg -h off.
Note that the hidden file of hiberfil.sys left by disk C can be directly removed and deleted.
Coup 2: Set up virtual memory
Windows systems, including Win7 and Win8, have a default virtual memory of 0.5 times the size of 65438+ physical memory, which is used as a paging exchange file. If the system manages the size, then this volume will change automatically, and it will often get bigger and bigger. If the physical memory is less, only 5 12m or 1g, you can choose to keep this file.
If you keep this file, it is recommended to put it in another partition instead of the C disk (system disk), otherwise you still need to delete it manually when making Ghost or other backups. It is suggested that the size must be specified, that is, 1.5 times the physical memory size of Ram.
Open the control panel and click "System".
Click Advanced System Settings on the left.
In the system properties dialog box that opens, click the first setting button (Performance).
Open the Advanced tab in the Performance Options dialog box, and then click Change in Virtual Memory. ...
Ok, let's start setting up virtual memory. First, close the virtual memory of drive C, select the unpaged file, and click Set.
Set the virtual memory on disk D or other partitions with relatively large space, here is disk D, with a size of 2048MB, which is 2G, which can be set as needed.
Coup 3: Temporary files generated by the application
Some temporary files generated by application installation and operation can be completely deleted. If it takes a long time, there is really a lot of garbage. These files are usually stored in the windows\temp folder and the temp folder of the user folder.
Cleaning method: directly delete all files in folders c:\windows\temp, C:\ProgramData\TEMP and C: \ Users \ Your User Name \ AppData \ Local \ temp.