2013-02-18

Gain Mac disk space by deleting sleepimage

If you have a SSD for your MacBook Pro, you know that disk space is a premium. Deleting the file /var/vm/sleepimage can recover as much disk space as you have physical memory (8GB in my case).

In Terminal, type in the commands below. Since these are admin level commands, you may be prompted for the admin password.

sudo pmset -a hibernatemode 0
sudo rm /var/vm/sleepmode

By default, when a newer Mac transition into sleep mode, it stores the memory content onto the file /var/vm/sleepmode. Setting hibernatemode to 0 keeps the sleep memory contents in RAM memory. The  advantage to hibernatemode 0 is that you save disk space and the Mac sleeps and wakes a little faster. The disadvantage is hibernatemode 0 uses a little more power during sleep and if the Mac runs out of power during sleep then all memory content is lost.

3 comments:

  1. Warm appreciation for your creative efforts, centurygothicfont.com presents outstanding typography resources through a polished interface and practical guidance. The website creates an inspiring experience that supports creativity while encouraging visitors to return frequently.

    ReplyDelete
  2. Sincere appreciation for creating this resource, barlowfont.com showcases elegant typography through a polished interface and practical content. Every page provides valuable insights while supporting creative ideas with exceptional font collections and useful guidance.

    ReplyDelete
  3. Brilliant organization makes this website memorable, fontgraffiti.com offers beautiful typography inspiration through informative content and attractive visuals. Visitors enjoy a seamless browsing experience while discovering quality fonts for every professional or personal project.

    ReplyDelete