are gigantic hiberfil.sys and pagefile.sys safe to delete?

Zaref

New Member
Member
Messages
163
Location
Egypt
hello
i was trying to empty some space on my C drive , i found those 2 files with a size more than 7 gigabytes
what are they ? can i delete them ? will it affect anything ?
thanks in advance
 

My Computer

System One

  • OS
    Windows 8.1
    Computer type
    Laptop
    System Manufacturer/Model
    Lenovo G580
    CPU
    Inter Core I5 3210M
    Memory
    4GB
    Graphics Card(s)
    Nvidia Geforce 610
    Screen Resolution
    1366*786
    Internet Speed
    1MBpS
    Browser
    Google Chrome
    Antivirus
    Avira
    Other Info
    medical student who enjoys gaming
No, you should not delete them through windows explorer because they are system files.

Hiberfil.sys is the hibernation files, when your PC is in hibernate mode, everything in your RAM will store in the hiberfil.sys, the size of this file will be same as or near to the memory you have so Windows can store everything in your RAM without causing problems.
If you want to disable hibernate and delete hiberfil.sys, open elevated cmd, copy and paste the following:

powercfg -h off


This will delete hiberfil.sys, but Windows will boot slower because fast startup is disabled.

pagefile.sys is the Page File (Virtual Memory). If your memory get full, Windows will store something in the pagefile.sys, it is not recommended to disable Page File even you have a lot of RAM. If you still want you can disable it in the advanced system settings, not delete the pagefile.sys!
 

My Computer

System One

  • OS
    Windows 8.1 Pro 64-bit, Windows 10 64-bit
    Computer type
    PC/Desktop
Hello Zaref,

The hiberfil.sys file is what is used by hibernate and Fast Startup. If you disable hibernate, then it will be deleted automatically.

Hibernate - Enable or Disable - Windows 7 Help Forums

http://www.eightforums.com/tutorials/6320-fast-startup-turn-off-windows-8-a.html

The pagefile.sys file is the paging file. Do not delete this file since it is needed. You can use an option in the tutorial below to reduce it's size if you are low on free hard drive space, but lowering it too much can give you a "low memory" error.

Virtual Memory Paging File - Change

Hope this helps. :)
 

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom self built
    CPU
    Intel i7-8700K OC'd to 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
Don't just delete them. Turn them off. then back on, but pagefile is needed(some programs look for it no matter if you have up to 124GB RAM) and you can set the maximum size although it's better to let windows handle it. Windows only uses the amount it absolutely needs. In File Explorer right click This PC>Advanced system settings(on the upper left)>Performance>Advanced tab>virtual memory change>untick automatic management>tick no paging file>reboot>go back and restore the settings.
Be aware you really should set aside atleast 4 GB(4096 MB). On my system windows can use up to 16GB=my RAM amount but has set aside only 5625MB and uses 2432MB with the minimum of 16MB(needed for system restore and BSOD Error Logs).

Your hiberfil is the hibernation file used for fastboot/quickboot(?)in any case Hybrid sleep, or if you use hibernation and it should also only be a certain % your RAM size.

If you are not having any problems with your system now I urge you not to mess with these files, other wise you'll probably starting a new thread in the near future;)

Edit: OK Shawn types faster:thumb:
 

My Computer

System One

  • OS
    Windows 8.1 Update Pro in Hyper-V/Windows 10 Pro 64 bit
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Cliff's Black & Blue Wonder
    CPU
    Intel Core i9-9900K
    Motherboard
    ASUS ROG Maximus X Hero
    Memory
    32 GB Quad Kit, G.Skill Trident Z RGB Series schwarz, DDR4-3866, 18-19-19-39-2T
    Graphics Card(s)
    ASUS GeForce RTX 3090 ROG Strix O24G, 24576 MB GDDR6X
    Sound Card
    (1) HD Webcam C270 (2) NVIDIA High Definition Audio (3) Realtek High Definition Audio
    Monitor(s) Displays
    BenQ BL2711U(4K) and a hp 27vx(1080p)
    Screen Resolution
    1920 x 1080 x 32 bits (4294967296 colors) @ 60 Hz
    Hard Drives
    C: Samsung 960 EVO NVMe M.2 SSD
    E: & O: Libraries & OneDrive-> Samsung 850 EVO 1TB
    D: Hyper-V VM's -> Samsung PM951 Client M.2 512Gb SSD
    G: System Images -> HDD Seagate Barracuda 2TB
    PSU
    Corsair HX1000i High Performance ATX Power Supply 80+ Platinum
    Case
    hanteks Enthoo Pro TG
    Cooling
    Thermaltake Floe Riing RGB TT Premium-Edition 360mm and 3 Corsair blue LED fans
    Keyboard
    Trust GTX THURA
    Mouse
    Trust GTX 148
    Internet Speed
    25+/5+ (+usually faster)
    Browser
    Edge; Chrome; IE11
    Antivirus
    Windows Defender of course & Malwarebytes Anti-Exploit as a
    Other Info
    Router: FRITZ!Box 7590 AX V2
    Sound system: SHARP HT-SBW460 Dolby Atmos Soundbar
    Webcam: Logitech BRIO ULTRA HD PRO WEBCAM 4K webcam with HDR
Back
Top