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

blakefire

macrumors newbie
Original poster
Dec 28, 2010
17
0
So I was trying to remove some stuff to make more room and notice my harddrive is mostly occupied by "Other". What on my computer is considered "Other" this was I can remove it and free up space.
 
Part of the "other" is your sleepimage - the size of this file will be the same size as the amount of RAM you have. So if you have anything over 8 GB, the image will be pretty big. You can remove the image (and prevent its creation) with no ill-effects if you want. Its only purpose is to save your system's state right before the battery is completely depleted.

Here is the command to remove the sleep file (it will be created again automatically when your computer is put/goes to sleep):
sudo rm /private/var/vm/sleepimage

The command to prevent its creation:
sudo pmset -a hibernatemode 0
 
Did that, but it doesn't show a decrease in space. Did it a second time and got this.

rm: /private/var/vm/sleepimage: No such file or directory

So i assume it worked.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.