My application software is basically installed in the D drive, the desktop and the recycle bin are also often cleaned up, however, the space of the C drive is often often stretched. To find the following slimming methods: 1. Turn off the sleep function Sleep is a power-saving state that is mainly designed for portable computers. Sleep usually saves work and settings in memory and consumes a small amount of power, while hibernation saves open documents and programs to your hard drive, then shuts down your computer. Hibernation uses the least amount of power in all power-saving states used by Windows. When we enable the hibernation function, there will be a file named hiberfil.sys in the root directory of the C drive. The size and memory size are an order of magnitude (there should be individual differences, on my computer, about 1.49G). For most people, the shutdown and sleep functions are sufficient. To save the C disk overhead, you can turn off the sleep function. To disable and enable hibernation, use the following method: Use batch file Use Notepad to create and edit a batch file with suffix bat. To turn off hibernation, enter @powercfg -h off and save; otherwise, to enable it, enter @powercfg -h on, save. Hibernate can be turned off or on by double-clicking on the saved batch file as an administrator. Use Command Prompt/Run to find the command prompt/run in the “Start Menu”-->“Accessories", open the window. To turn off hibernation, enter the powercfg -h off command; otherwise, enter the powercfg -h on command. 2. Modify the virtual memory settings The programs running on the computer must be executed through the memory. If the executed program occupies a large or large amount of memory, the memory consumption will be exhausted. In order to solve this problem, modern operating systems generally use virtual memory technology, that is, a part of the hard disk space is used to serve as a memory. Windows systems use a paging file called pagefile.sys to represent virtual memory, which we can find in the partition root directory where virtual memory is allocated. In Win7 system, by default, the virtual memory space is provided by the C disk, and the size is generally 1~1.5 times of the real memory size of the machine. For speed reasons, virtual memory should be as close as possible to the system, or even placed in the system; however, for the C disk space is relatively tight, the system disk is relatively pit. To this end, I set the virtual memory on the D drive. The setting method is as follows: Right click on the desktop “computer", select “property", pop-up "Control Panel Home" window; in the <quo;Control Panel Home" window top left corner select “Advanced System Settings” , pop-up "System Properties" window; under the "System Properties" window "Large" tab, find the "Performance" area, click "Settings", pop-up "performance options" window; In the “Performance Options” window, click the “Virtual Memory” area under the “Advanced” tab, click “Change”, pop-up “Virtual Memory” window; in the “Virtual Memory” window Uncheck the "Automatically manage the paging file size of all drives" checkbox, check the box; in the "Pages of each drive's paging file size" folder check box, click to select drive C, Select "No paging file" below, click “Set">; in “ each drive's paging file is large In the Small & rdquo; Drives check box in the area, click to select drive D, select “Customize size below, set the initial size and maximum value, click “Set” All the way back “ OK ”. 3. C disk expansion The previous method is to save space for the C drive from the perspective of throttling, that is, when the total capacity of the C drive is unchanged. This will also sacrifice some of the performance of the system to some extent. What I want to say in this paragraph is how to increase the total capacity of the C drive. This is to solve the problem from the perspective of open source. The simplest thing is to re-spread the system, but it also means that the system needs to be reinstalled. If you install a lot of software like me, reinstalling the system is a very troublesome thing, so it is not a priority. [After many years of tossing in the past few years, in my case, it is unnecessary to divide the C drive into 50G, it is too wasteful; today's 25G is generally enough, but once you need to install large software similar to VS2010 Still a little too big to see. The next partition will be divided into 35G or so. 】 [I generally install the software D disk, the current all software is a total of 3, 4 G size, so 30G is a little waste, the next D disk only 15~20G. C drive and D drive add up to 50 ~ 55G is almost ~]