Turn off the system hibernation function: 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. 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 on disk C can be deleted directly after being unhidden. )
Setting virtual memory: For Windows systems, including Win7 and Win8, the default setting of virtual memory is 1.5 times the size of physical memory, which is used as a paging swap 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; 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 large space, which can be set as needed.
Delete temporary files generated by application: Temporary files generated by some 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. Just delete all the files in the folders c:\windows\temp, C:\ProgramData\TEMP and C: \ Users \ Your User Name \ AppData \ Local \ temp.
Try it according to the above method, and you can release at least 2.5 times the memory size without any impact on the system. Of course, if it is not necessary, try not to move the C disk.