Sleep Image 2GB safe to delete?

Joined
Mar 4, 2006
Messages
230
Reaction score
5
Points
18
I found a file called "Sleep Image" that is taking up 2GB of space and requires password verification to delete. Thats 2GB I would like back if this file isnt supposed to be so big.
Is it safe to delete?
 
Joined
Sep 30, 2006
Messages
805
Reaction score
28
Points
28
Location
Kansas
Your Mac's Specs
Black MacBook Black 2GB iPod Nano & Black 80GB iPod Classic B&W G3 G4's - PowerMac & Cube
What sort of file is it?
What folder is it in?
 
OP
B
Joined
Mar 4, 2006
Messages
230
Reaction score
5
Points
18
It is a document owned by the root in my boot drive in the folders: private>var>vm

I assume it does something but it seems kinda big.
 
M

MacHeadCase

Guest
From what I've seen in google so far, looks like you need that file. It's kinda like a temp file that stores what apps are open, if you have work that is still open, etc. as your laptop goes to sleep. When it wakes it looks into that temp file and everything is as it was before it went to sleep. The sleep mode can happen just about any time, btw, not just when you let the laptop idle for too long:

From Apple's Knowledge Base Article Calibrating your computer's battery for best performance:

Tip: When the battery reaches "empty", the computer is forced into sleep mode. The battery actually keeps back a reserve beyond "empty", to maintain the computer in sleep for a period of time. Once the battery is truly exhausted, the computer is forced to shut down. At this point, with the safe sleep function introduced in the PowerBook G4 (15-inch Double-Layer SD) computers, the computer's memory contents have been saved to the hard drive. When power is restored, the computer returns itself to its pre-sleep state using the safe sleep image on the hard drive.

Edited to add:

It also seems that the file size is dependent on the amount of RAM you have on your Mac.

From Moving the hibernate image file on a MacBookPro…:

So I like to partition my Macs so that my user directory is on a different partition to the system drive.
I got kind of frustrated when I got my MacBook Pro and realised that due to having 2Gb of RAM, the hibernate settings by default were taking up an extra 2Gb on my system partition with the sleep image file at /var/vm/sleepimage.
 
Joined
Dec 29, 2006
Messages
20
Reaction score
0
Points
1
Your Mac's Specs
Macbook Pro 17
MacBook Pro Battery

From Apple's Knowledge Base Article Calibrating your computer's battery for best performance:

Do I have to do the same for the MBP too?
Cause I use my MBP as a desktop pretty often..
It would be great if I don't have to plug out the battery every now and then

Thanks!
 
M

MacHeadCase

Guest
I haven't read that article in that perspective, 4g63t. I was just trying to find some reference to this Sleep Image business. You'd have to read and see what Apple means by this procedure.

Oh and btw, welcome to Mac-Forums!
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top