How to delete sleepfile?

Discussion in 'Mac Basics and Help' started by Buck1, Sep 2, 2012.

  1. Buck1, Sep 2, 2012
    Last edited: Sep 3, 2012

    Buck1 macrumors member

    Joined:
    Dec 24, 2011
    #1
    I noticed that very big amount of space take me file called "sleepimage" file. Also I found out through these web sites that is the files contain some information when I gonna get my mac to sleep.

    I think for me it isn t necessary I do not use sleep often even never. So I tried to delete this item but every time on boot my mac that files recover and still have take a lot of space on my ssd. how to delete it?
     
  2. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #2
    Here you go.

    Run this command in Terminal.

    Code:
    sudo pmset -a hibernatemode 0
     

Share This Page