What file is Hiberfil.sys?
"Hiberfil.sys" is the system hibernation file, which is as large as physical memory, it can be deleted (but not deleted manually), as long as you open Power Options in Control Panel, and then under the Hibernate tab of the Power Management dialog box, remove the check before "Enable hibernation" and the hibernation file will be deleted automatically.
What file is Pagefile.sys?
"Pagefile.sys" is a paging file (that is, virtual memory) This file cannot be deleted, but you can change its size and location: Right-click My Computer/properties, and then, under the Advanced tab of the dialog box, click the Settings button under performance, and in the Performance Options dialog box, switch to Advanced tab, and then click the Change button under virtual memory, you can change the size of the paging file as needed----Select the C disk, click No paging file, click the Settings button, and then select the letter you want to generate the file, click Custom Size below, and enter the appropriate value. This number is usually 1.5 times times the physical memory, click Settings, and then click OK to restart your computer, which is on a different partition.
Space solutions for Hiberfil.sys and Pagefile.sys occupancy
Note: You will see these two files in the folder option uncheck "Hide protected operating system files (recommended)".
Hiberfil.sys File Deletion method
Hiberfil.sys is the dormant file of the Win7 system, the following command is executed in CMD to turn off the Hibernate feature, and the file is automatically deleted:
Powercfg-h off
Pagefile.sys File Deletion method
Pagefile.sys is a Win7 virtual memory paging file that allocates virtual memory to other partitions and restarts the system to automatically delete the file:
The final C disk space increased to 12.3G: