Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

I keep running out of space for no obvious reason!

Hi there,

I have a Macbook Air, purchased in mid-2012 and operating on OS X Yosemite. For the past few months I have been getting alerts to say that my startup disk is nearly full. Every time this has happened, I have managed to remove enough files to stop this happening but every single time, my memory has gone right back down. I currently have 1.87GB free of 120.1GB, despite this being at 7.3GB literally two days ago. The VAST majority of this space is taken up by 'Other' files and I simply do not know what they could be. Why does this keep happening? Is there something wrong with my mac for the memory to keep running out like this?!

I am more than happy to pay for extra storage on iCloud and use that for all my photos I can’t seem to get my photos onto there – every time I open the preferences window in 'Photos', it says my Mac storage is full. I even have the 'optimise mac storage' box ticked. I haven't uploaded ANY photos to my Mac since 2013 so have absolutely no idea why it would be full like this.

The Mac still works absolutely fine (a tiny bit slower than originally) so no need for it to be replaced but it does slow down when the memory gets to the MBs stage. I genuinely have no idea what to do and there is no clear explanation online for how to solve this problem. It's impossible to get an appointment with a Genius so I thought I'd try a forum.

If anyone can help me out here I'd be extremely grateful. I'm more than happy to answer other specific questions if that helps you diagnose the problem.

Also, please don't just send me a link to that XLabs article as that hasn't been particularly helpful.

Cheers,

Rich

Posted on Feb 8, 2016 9:39 AM

Reply
Question marked as Best reply

Posted on Feb 8, 2016 9:44 AM

Virtual memory swap files and temporary files can grow quite rapidly. You're trying to run with a dangerously small amount of free space.

You really need to keep a minimum of about 15GB of space free to operate safely.

It's time to offload some data to an external drive and go through your apps to determine what you actually do and don't use.

9 replies
Question marked as Best reply

Feb 8, 2016 9:44 AM in response to elliotto_1451

Virtual memory swap files and temporary files can grow quite rapidly. You're trying to run with a dangerously small amount of free space.

You really need to keep a minimum of about 15GB of space free to operate safely.

It's time to offload some data to an external drive and go through your apps to determine what you actually do and don't use.

Feb 8, 2016 9:46 AM in response to KiltedTim

I would love to do that. It's not as if I'm holding stuff back and not wanting to delete it. I have removed hundreds of photos and files. If you search for files over 10MB on my computer then there will be barely any. I would happily move all of my photos to iCloud - does that count as an external drive? Surely that's the whole point of iCloud?

Feb 8, 2016 9:56 AM in response to elliotto_1451

If you are using the Photos app to catalog your digital photos then they reside in the Cloud yes, but they also reside on your computer. If you are using Photos you can select Preferences and choose the Optimize Mac Storage option but even that doesn’t remove the photos from your computer, it merely puts a smaller version on your computer.

Feb 8, 2016 10:16 AM in response to elliotto_1451

For information about the Other category in the Storage display, please see this support article. If the display seems to be inaccurate, try rebuilding the Spotlight index.

Empty the Trash if you haven't already done so. If you use iPhoto, empty its internal Trash first:

iPhoto ▹ Empty Trash

In Photos:

File Show Recently Deleted Delete All

Do the same in other applications, such as Aperture, that have an internal Trash feature. Then restart the computer. That will temporarily free up some space.

According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation—not the mythical 10%, 15%, or any other percentage. You also need enough space left over to allow for growth of the data. There is little or no performance advantage to having more available space than the minimum Apple recommends. Available storage space that you'll never use is wasted space.

When Time Machine backs up a portable Mac, some of the free space will be used to make local snapshots, which are backup copies of recently deleted files. The space occupied by local snapshots is reported as available by the Finder, and should be considered as such. In the Storage display of System Information, local snapshots are shown as Backups. The snapshots are automatically deleted when they expire or when free space falls below a certain level. You ordinarily don't need to, and should not, delete local snapshots yourself. If you followed bad advice to disable local snapshots by running a shell command, you may have ended up with a lot of data in the Other category. Ask for instructions in that case.

See this support article for some simple ways to free up storage space. A common waste of space is old iTunes backups of mobile devices. As illustrated in this support article, select the Devices tab in the iTunes preferences window, select the backups you want to delete, and click Delete Backups. Keep at least one backup of each device that you still use.

You can more effectively use a tool such as OmniDiskSweeper (ODS) to explore the volume and find out what's taking up the space. You can also delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one. Note that ODS only works with OS X 10.8 or later.

Deleting files inside a photo or iTunes library will corrupt the library. Changes to such a library must be made from within the application that created it. The same goes for Mail files.

Proceed further only if the problem isn't solved by the above steps.

ODS can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.

Back up all data now.

Install the app in the Applications folder as usual. Quit it if it's running.

Triple-click anywhere in the line of text below on this page to select it, then copy the selected text to the Clipboard by pressing the key combination command-C.

security execute-with-privileges /A*/OmniDiskSweeper.app/*/M*/* 2>&-

Launch the built-in Terminal application in any one of the following ways:

☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

☞ Open LaunchPad and start typing the name.

Paste into the Terminal window by pressing command-V. You'll be prompted for your login password.

The application window will open behind other open windows. When you scan a volume, the window will eventually show all files in all folders, sorted by size. It may take a few minutes for the app to finish scanning.

I don't recommend that you make a habit of doing this. Don't delete anything as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means. When in doubt, leave it alone or ask for guidance.

When you're done with the app, quit it and also quit Terminal.

Feb 8, 2016 10:26 AM in response to elliotto_1451

First, are you using the Photos App? If so make sure you are using the Optimize Mac Storage option. Also, by default when you delete a picture from Photos it gets placed into a folder called Recently Deleted but they aren’t actually deleted right away. However if you select that folder there’s an option (up at the top on the window) to delete them. Doing this does delete them both from the computer and the cloud. So you may not want to do this. Because Photos ties the cloud and the computer quite closely together you’ll want to export all your photos to an external drive before you even think about deleting them from your computer. Again - deleting photos from your computer will also delete them from the cloud storage. In fact Apple’s iCloud works this way completely - anything you put on iCloud is also on your computer - and this is true of most other cloud services too.


Next, forget about Other. It is a poorly named category that simply means - files that aren’t part of the other named categories. If I were to gather up 10 people who, like you, are running short of hard drive space I’d almost certainly find 4-6 different reasons. There’s a free program called OmniDiskSweeper that will catalog your drive and help you find files you can move. Just remember these rules:


  1. Don’t touch anything in the System or Library folder. Doing so could cause your computer to stop functioning
  2. You also have a Library folder inside your own drive space. It isn’t as dangerous to mess with as the main library but you can cause your own account to stop functioning properly. Handle with care.
  3. Everything else is fair game. The Mac OS will keep you from deleting must have applications.

Mar 3, 2016 11:23 PM in response to elliotto_1451

Did you find the cause? Or the solution?


I have the same problem... about 35 gb getting eaten up. Slowly. Sometimes fast.

Cause of swapfiles... (harddisk > private > var > vm)


I found that it's Safari, Version 9.1 (11601.5.17.1), doing the damage.

Could be other apps too, but quitting Safari, before it's too late (before all diskspace is eaten up),

will clear the swapfiles and return my diskspace.


Just writing these lines has eaten apron 20 gb.

I keep running out of space for no obvious reason!

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.