good day, i have installed crucial m4 256 gb SSD on my MBP 13" mid 2012 update the firmware before installing mountain lion. also enabled trim with chameleon ssd optimizer.
i didnt clone my HDD since its almost full. i didnt put it on my optical drive since i replace my HDD because of water dripping sound (i drop my mbp) and on my research could be HDD problem so i replace it with SSD (will monitor if still there is water dripping sound. since its work hour will try when i get home). i will only install my useful apps and get rid of my games so i did a clean osx install.
i have a question regarding putting my mac on sleep (closing the lid) ive read that doing this saves some sleep image so that i can resume when i open my mac. do i need to disable sleep? how to i do that?
You do not want to disable sleep, maybe just change the sleep mode. The normal mode writes a sleepimage ffile to the drive, and to save space that file can be deleted after changing the sleep mode to "zero" using the pmset terminal command (terminal is in the /Applications/utilities folder).
In the terminal shell, type "man pmset" and hit the enter key.
Shows all of the manual for the pmset command
You can also check which mode your Mac is in by running this command:
pmset -g | grep hibernatemode
pmset -g
will list all the current power settings/device settings.
1. set hibernate mode to 0
sudo pmset -a hibernatemode 0 (will ask for your admin password)
hibernationmode 0 is normal sleep, kept in ram nothing written to hdd
hibernationmode 3 is safe sleep, kept and loaded from ram, written to hdd in case of power loss
hibernationmode 25 is full hibernation, memory is written to hdd and then ram is powered off
--------------------------------
2. delete the unnecessary sleep file to regain disk space equal to memory (saves the same amount of disk space as your RAM, eg. 8 GBs), since hibernate is disabled
if you want to reclaim the space the hibernate file takes up (valuable on an SSD), you can use the Go to folder menu for that. The file is found in the /var/vm/ folder, and is named sleepimage. Reboot and simply delete that file,. Or use this:
sudo rm /private/var/vm/sleepimage
The sleep image file is actually in /private/var/vm/ but /var/vm/ is a symbolic link to that location.
Optional: Create a blanked zero-byte file so the OS cannot rewrite the file (which can happen even with hybernate set to "0"):
sudo touch /private/var/vm/sleepimage
Make the file immutable:
sudo chflags uchg /private/var/vm/sleepimage