That a nice feature, but for me it is not worth losing 8GB or even 16GB of space on my MacBook Pro boot drive, especially with an SSD. With Hibernate enabled, if power fails while sleeping, the contents of memory is preserved. Hibernate mode with some 3rd-party devices can cause wake-up issues (crashes). If hibernate mode is enabled, the sleepimage file will reappear (on laptops at least). (2) Turning Hibernate off on a laptop is NOT a recommendation per se, but rather an advanced technique for users wishing to squeeeze out more drive space, and find the side effect in (1) acceptable. (1) With Hibernate on a laptop computer disabled, any unsaved work will be LOST if the battery power runs out, because memory will not be written to disk. Making sure the sleepimage file does not come back To make sure it doesn’t reappear, see below. That’s it, you’re done- at least for the moment. LlcMP:~ lloyd$ sudo rm -rf /var/vm/sleepimage Type the command shown in bold (copy/paste is best): The 'sudo' command allows this protected file to be removed with the rm command. To get rid of this gluttonous file, you can use Terminal (found in your Utilities folder). The missing space can be mysterious, because the file won’t be shown by the Finder, so it’s just space that’s apparently gone missing. If you’ve ever put your Mac into “hibernate mode”, you might find that space equivalent to the amount of memory in your Mac is suddenly missing from your boot drive eg if your Mac has 8GB memory, an 8GB sleepimage exists, 32GB memory a 32GB sleepimage, etc. For example, wasting 16+ GB of capacity on a 240GB SSD is un appealing. On laptops, space can be limited, especially if you’re using a solid state drive of modest size. Updated - Send Feedback Related: how-to, laptop, memory, optimization, SSD, sudo
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |