Hiberfil.sys size

Page 1 of 2 12 LastLast

  1. Posts : 23
    Windows 7 Professional x64
       #1

    Hiberfil.sys size


    I understand that the Hiberfil.sys file used for hibernation is normally the same size as the amount of intalled memory in the PC. On my Win 7 Pro x64 PC the OS reports 4GB Memory with 3.84GB usuable. The hiberfil.sys though is 3090,718,720 bytes which I reckon to be 2.88GB approx. As I have been having some resume problems from hibernation I was wondering if this smaller file size could have anything to do with it.

    I have used powercfg -h off to delete the file and then powercfg -h on but the file size is still the same.

    Any suggestions?
      My Computer


  2. Posts : 11,840
    64-bit Windows 8.1 Pro
       #2

    The default setting for Hiberfil.sys is 75% of your RAM ... you can change it by opening a command prompt with admin privilages, then enter..

    Code:
    PowerCfg.exe /HIBERNATE /SIZE percentage
      My Computer


  3. Posts : 2,036
    Windows 7 Professional x64
       #3

    Good answer Tews....glad to see you are still helping people here. Just wanted to say hello. I hope you are well...
      My Computer


  4. Posts : 23
    Windows 7 Professional x64
    Thread Starter
       #4

    Thanks for the info.

    Just curious how the system can write the contents of memery to a file of smaller size than the memory in the PC?
      My Computer


  5. Posts : 11,840
    64-bit Windows 8.1 Pro
       #5

    Guess its just one of those mysteries of life...
      My Computer


  6. Posts : 845
    Windows 7 - Vista
       #6

    Windows 7 compresses the contents of memory before writing to hiberfil.sys; hence the 75% figure.

    From Microsoft Download Center -

    "Reducing the Disk Footprint for Windows 7 Hibernation" -->

    http://download.microsoft.com/downlo...Footprint.docx

    Regards. . .

    jcgriff2

    .
      My Computer


  7. Posts : 23
    Windows 7 Professional x64
    Thread Starter
       #7

    Thanks for the help, I guess that satisfies my curiousty.
    Regards
      My Computer


  8. Posts : 1
    Winndows 7 Home Premium 64
       #8

    Does anyone know if hiberfil.sys (and pagefile.sys) are included in a "system image" backup (in win home premium)? Judging by the size of the backup image it seems to me that they are, but I hope someone can tell me that they are not. I guess one could eliminate them before generating a system image but that would be messy. I don't see the point of including these in the "system image".
      My Computer


  9. Posts : 71,977
    64-bit Windows 11 Pro for Workstations
       #9

    Hello Peter, and welcome to Seven Forums.

    A system image will include everything that was on the selected HDDs at the time it was created. :)
      My Computer


  10. Posts : 46
    Windows 7 64 bit
       #10

    I set my Hibernate to "never", and I still have a 4.5 gb hiberfil.sys file. I can just delete that, right? I'm trying to minimize my disk image size and currently have 10 gb worth of Pagefile and Hiberfil. I figure I can delete the hiberfil, and move the Pagefile to my second drive (as I read in another thread here). I have 6 gb ram, and a 6.5 gb Pagefile... no wonder my 1st W7 image was 35 gb (only 16 gb using Macrium since it compressed it), but why back up stuff you don't need?
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 02:31.
Find Us