Henry_C_King

Q: my mac is running out of memory

my mac is running out of memory. A couple of times my mac said It is close to running out of disk memory. What do I do?

MacBook Air, OS X Mountain Lion (10.8.5)

Posted on Jan 7, 2016 12:44 PM

Close

Q: my mac is running out of memory

  • All replies
  • Helpful answers

  • by BobHarris,Helpful

    BobHarris BobHarris Jan 8, 2016 10:44 AM in response to Henry_C_King
    Level 6 (19,410 points)
    Mac OS X
    Jan 8, 2016 10:44 AM in response to Henry_C_King

    OmniDiskSweeper (free download)

    <http://www.omnigroup.com/more>

     

    When using OmniDiskSweeper, or any utility that shows all your files...  See the following article if you want to run it as root

    <http://www.macobserver.com/tmo/article/how_to_recover_missing_hard_drive_space>

     

    Boiler Plate Warnings:

     

    DO NOT delete files in your Home Folder -> Library tree as there are things like your iPhone backups, your email messages, your application preferences, etc…  If you think you have found something in your Home Folder -> Library that can be deleted, you should ask first.

     

    DO NOT delete files outside your home folder, as you may end up deleting something essential to Mac OS X, and turn your Mac into an expensive “Door Stop”.

     

    I will point out that you will find some very large files in private -> var -> vm (these are the Mac OS X virtual memory paging files (swapfiles) and where Mac OS X stores the copy of RAM when your Mac is put to sleep).  The swapfiles get deleted on reboot, and the sleep image is just going to be created again when you put your Mac to sleep.

     

    If you think you have found something to delete outside your home folder, it would be best to ask first before deleting.  There are many examples of people deleting files outside their home folder, or renaming files, or changing the ownership or file permissions, and then their Mac stops running.  Do not be one of those people.  Ask first.

  • by BobHarris,

    BobHarris BobHarris Jan 7, 2016 1:07 PM in response to Henry_C_King
    Level 6 (19,410 points)
    Mac OS X
    Jan 7, 2016 1:07 PM in response to Henry_C_King

    Glitch caused me to double post - Sorry.

    edited to remove double post.

  • by Eric Root,Helpful

    Eric Root Eric Root Jan 8, 2016 10:44 AM in response to Henry_C_King
    Level 9 (71,175 points)
    iTunes
    Jan 8, 2016 10:44 AM in response to Henry_C_King
  • by Henry_C_King,Solvedanswer

    Henry_C_King Henry_C_King Jan 8, 2016 9:36 AM in response to BobHarris
    Level 1 (0 points)
    Jan 8, 2016 9:36 AM in response to BobHarris

    But is there any way I can delete useless files without downloading any thing?

  • by BobHarris,

    BobHarris BobHarris Jan 8, 2016 11:14 AM in response to Henry_C_King
    Level 6 (19,410 points)
    Mac OS X
    Jan 8, 2016 11:14 AM in response to Henry_C_King

    Henry_C_King wrote:

    But is there any way I can delete useless files without downloading any thing?

    Sure find them, and you can delete them.

     

    OmniDiskSweeper will do that for you.  Otherwise, you start looking at various folders trying to find where all the storage is being consumed.

     

    You could try using Finder -> View -> View Options -> Calculate All sizes

    Warning this will slow down your Mac really bad.  You should disable this option as soon as your are done trying to find where your storage is.

     

    The Calculate All sizes option will cause the Finder to walk down every folder, sub folder, sub  sub folder, etc.... calculating how much space is being used under each folder.  Walking the directory tree is CPU and I/O expensive, which is why you do not want to leave this option on.

     

    But what it will do is show you which folders have the most space being used.  This is actually more or less what OmniDiskSweeper does, only it gives you a much nicer all in one place interface, along with a button for deleting things you select (which is also one of the dangers if used incorrectly).

     

    NOTE:  Unless you use Finder -> Go -> Go to folder ->  /

    which will allows you to check all the system folders which may be where your space is located (OmniDiskSweeper will do this by default).

    and be very careful about what you delete when starting under /

     

    If you do not see Library in your home folder, then Finder -> Go and hold the "Option" key to see Library listed.

     

    Chances are all your space is being taking up in Movies, Pictures, Music, and Library