Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

glasserp

macrumors regular
Original poster
Apr 4, 2008
195
0
Hi, I recently downloaded Disk Inventory X to see what kind of files were lurking around and I found a 2GB file called sleepimage in Mac HD>private>var>vm. I imagine it's probably something critical to the OS, but can anyone shed any light on it? What does it do? You find a lot weird (sometimes large) files when you go poking around deep in folders that you probably shouldn't be in.
 
Hi, I recently downloaded Disk Inventory X to see what kind of files were lurking around and I found a 2GB file called sleepimage in Mac HD>private>var>vm. I imagine it's probably something critical to the OS, but can anyone shed any light on it? What does it do? You find a lot weird (sometimes large) files when you go poking around deep in folders that you probably shouldn't be in.

That file is needed for the safe sleep function of your macbook. It should be exactly as big as your RAM memory. In fact when you put your mac to sleep the content of the RAM is written to that file on the hard drive, so that if the mac should run out of battery your session can be restored from there. Safe sleep also permit you to swap the battery while in sleep without loosing your current session (opened apps, ...).
 
Okay, cool. Thanks for the info. Will try do a little searching first next time :rolleyes:
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.