Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Var/sleepimage file-OSX 10.6.2

Var/sleepimage file-OSX 10.6.2
Thread Tools
Fresh-Faced Recruit
Join Date: Nov 2005
Status: Offline
Reply With Quote
Mar 22, 2010, 05:15 AM
 
While sweeping my HD i found that there is a ~/PRIVATE/var/vm/sleepimage file of about 4.1GB.
Is it safe to delete this file to free disk space?
     
Administrator
Join Date: Apr 2001
Location: San Antonio TX USA
Status: Online
Reply With Quote
Mar 22, 2010, 06:10 AM
 
That file is where your Mac saves its memory when it goes to sleep. It should not be deleted.
Glenn -----
OTR/L, MOT, Tx
     
Moderator
Join Date: Oct 2001
Location: San Jose, CA
Status: Offline
Reply With Quote
Mar 22, 2010, 03:38 PM
 
I believe that it is safe to trash the sleepimage file. It gets recreated every time the machine goes to sleep, after all.

Steve
Celebrating 10 years and 4000 posts on MacNN!
     
Professional Poster
Join Date: Sep 2002
Location: New York, NY
Status: Offline
Reply With Quote
Mar 22, 2010, 04:43 PM
 
It is safe to delete it but it is pointless to do so. It will be recreated and thus you won't be saving any disk space.
Vandelay Industries
     
Posting Junkie
Join Date: Nov 2000
Location: in front of my Mac
Status: Offline
Reply With Quote
Mar 22, 2010, 04:52 PM
 
If you really want to gain that disk space you have to give up on safe sleep entirely. Then you can safely delete the sleepimage file and it won't be recreated.

to turn it off:
sudo pmset -a hibernatemode 0

to re-enable:
sudo pmset -a hibernatemode 3
     
Professional Poster
Join Date: Jan 2003
Status: Offline
Reply With Quote
Mar 22, 2010, 05:57 PM
 
There are other ways to gain HD space. Best one is to get a larger HD. what laptop do you have?
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 05:39 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2