Another space saving tip for those of you who are running out of space on your Mac SSD or HDD. For this to work you need 2 drives (ideally internal ones). I have a MacBookPro 15 and removed the DVD bay to fit in SSD + 1TB HDD.
What is this "Hibernate File" and why would you move it?Without going into too much boring details, it is a file where your Mac will dump the memory contents when the battery completely runs out. The contents of this file are restored back into memory when you re-plug your charger. The size of this file will be the same as the amount of memory you have in use, in my case its 16GB since thats how much ram I have in my MacBookPro. Traditionally this file is located on the Boot drive in a folder:
Well, moving the file to an alternative location will simply give you 16 additional gigs (unless you can afford a bigger SSD, in which case 16GB isnt of much value to you)
Move Hibernate File on OSX Lion and Mountain LionOpen up Terminal and type
Enter admin password and reboot :)
sudo pmset -a hibernatefile /Volumes/MyOtherDrive/sleepimage