What's a 4GB sleep image ??

Discussion in 'macOS' started by fab5freddy, Apr 11, 2009.

  1. fab5freddy macrumors 65816

    fab5freddy

    Joined:
    Jan 21, 2007
    Location:
    Heaven or Hell
    #1
    i have a 4 GB sleep image plain text file in my private directory ......

    What in the world is this huge file doing ?

    i made a screen shot of my finder.

    i don't think it is doing anything and i would like to erase it !

    Can anyone figure out what this is ?

    thanks !
     

    Attached Files:

  2. TuffLuffJimmy macrumors G3

    TuffLuffJimmy

    Joined:
    Apr 6, 2007
    Location:
    Portland, OR
    #2
    You can erase it, but your computer makes it everytime it goes to sleep. What happens is when your macbook goes to sleep it dumps the contents of the RAM into that file. That way if your computer loses power it can recover back to where it was.
     
  3. flopticalcube macrumors G4

    flopticalcube

    Joined:
    Sep 7, 2006
    Location:
    In the velcro closure of America's Hat
    #3
    Its where the OS writes the contents of the RAM just before the computer goes to sleep.
     
  4. fab5freddy thread starter macrumors 65816

    fab5freddy

    Joined:
    Jan 21, 2007
    Location:
    Heaven or Hell
    #4
    That's HUGE ! 4GB of data to write.
    No wonder my new macbook pro is super slow.

    have to fix this!
     
  5. TuffLuffJimmy macrumors G3

    TuffLuffJimmy

    Joined:
    Apr 6, 2007
    Location:
    Portland, OR
    #5
    No you don't... and there is no way that that's what makes your Macbook Pro slow. Unless you're talking about how long it takes it to go to sleep.
     
  6. daneoni macrumors G4

    daneoni

    Joined:
    Mar 24, 2006
    #6
    Sleep is directly linked to RAM. 4GB means you most likely have 4GBs of RAM installed. It also has no hit on performance as far as im aware. Something else is making your computer slow
     
  7. gr8tfly macrumors 603

    gr8tfly

    Joined:
    Oct 29, 2006
    Location:
    ~119W 34N
    #7
    It only writes the file when sleeping - it doesn't affect operation, and is necessary if you want to swap batteries while sleeping or if you run your battery down while sleeping. The speed hit happens only while it is going to sleep - not during wake, unless it's waking from the above circumstances.

    It can be disabled, but I wouldn't recommend it. If you're within 4GB of running out of space, it sounds like you need a larger HD.

    The feature is called "SafeSleep", for future reference.
     
  8. fab5freddy thread starter macrumors 65816

    fab5freddy

    Joined:
    Jan 21, 2007
    Location:
    Heaven or Hell

Share This Page