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.

My HDD is eating up free space on its own

I had left my laptop turned on (with caffeine active so it didn't go to sleep), when I returned (about an hour later) I noticed that around 6gb of my storage had randomly disappeared. I only noticed it because before I left, I deleted a large file and so I knew how much storage I had left (around 320gb). After I came back it was at 314gb and gradually decreasing. I thought it was a CleanMyMac glitch, so I checked through the 'About this mac' method. It showed the same numbers. I decided to run CleanMyMac because I hadn't done so for a few months. It cleaned around 3gb, so my free space went up to a high 316gb. I checked the storage again and it was gradually decreasing again, right now its at 315.27gb.


Considering my total storage is 500gb and I have plenty of free space, I realise that it doesn't really matter but I am worried that it might be some bigger problem. A virus maybe? I don't have any anti-virus installed.


User uploaded file

Note that this takes only a few seconds, I can actually see the number decreasing by amounts between 20-30mb.

User uploaded file

MacBook Pro, OS X Yosemite (10.10.5), Mid 2010

Posted on Aug 24, 2015 2:42 PM

Reply
11 replies

Aug 24, 2015 3:08 PM in response to Mol Sheth

Do you backup with Time Machine? Mac is constantly cacheing and preparing files in various processes in the system. This is one of the reasons it is recommended you keep 20% of your disk drive free, so that you have room for memory swaps etc.


Why 20%? I found this on the web... sorry it's not an official Apple support doc - I'm about to call it a day!

"

I picked this value so that some basic OS X maintenance scripts will have sufficient free drive space to run. This includes OS X's built-in disk defragmentation system, memory swap space, and enough space to create cache and temp files when OS X starts up, while still leaving room for basic applications, such as email and web browsers, to use free space as needed.

"

Aug 24, 2015 3:20 PM in response to Mol Sheth

I'm saying that I have observed this behaviour on my own Mac - although only a difference or 2 or 3GB, and the fact that various articles on the net back this theory up would put my mind at ease.


If you want to be absolutely sure, take your Mac into the Apple Store for a service. If you don't want to do that, run a virus scan yourself. ClamXAv is really good and thorough (it's probably best to leave it running on your Mac overnight). Plus, you run it as a one off program so it isn't going to be running all the time like most Windows Anti viruses do!


I hope this puts your mind at ease

Aug 24, 2015 3:24 PM in response to Mol Sheth

A

"CleanMyMac" is a scam and a common cause of instability and poor performance. Depending on what version you have, the developer's instructions may not completely remove it. Follow those instructions, then do as below.

Back up all data before proceeding.

Triple-click anywhere in the line below on this page to select it:

/Library/LaunchDaemons/com.macpaw.CleanMyMac2.Agent.plist

Right-click or control-click the highlighted line and select

Services Reveal in Finder (or just Reveal)

from the contextual menu.* A folder may open with an item selected. If it does, move the selected item to the Trash. You may be prompted for your administrator login password.

Repeat with this line:

/Library/PrivilegedHelperTools/com.macpaw.CleanMyMac2.Agent

Restart the computer and empty the Trash.

You may also have to remove one or more of these items in the same way:

~/Library/LaunchAgents/com.macpaw.CleanMyMac.helperTool.plist

~/Library/LaunchAgents/com.macpaw.CleanMyMac.volumeWatcher.plist

~/Library/LaunchAgents/com.macpaw.CleanMyMac3.Scheduler.plist

Never again install "CleanMyMac" or anything like it.

*If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select

Go Go to Folder...

from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

B

For information about the Other category in the Storage display, 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.

You can more effectively use a tool such as OmniDiskSweeper (ODS) or GrandPerspective (GP) 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. If you're running an older OS version, use GP.

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 or GP 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 corresponding 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.

For ODS:

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

For GP:

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

Launch the built-in Terminal application in any 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.

Aug 24, 2015 3:50 PM in response to Mol Sheth

You don't NEED any of the 3rd party cleaners. I'm guessing you've come to Mac from a PC? OS X simply doesn't have the bloating issues that Windows has, and has highly sophisticated built in methods of looking after itself. If you go tampering with them by installing 3rd party rubbish, your Mac is going to have lowered performance!

P.S. In the past, I have recommended Onyx (http://www.titanium.free.fr/) & ClamXAV as a last resort for those people who REALLY, REALLY want a cleaner. But Apple OS X is getting more advanced all the time and trust me when I say, Mac really can look after itself 🙂. I'm sure another user will back me up.!

Aug 24, 2015 3:59 PM in response to Mol Sheth

How to maintain a Mac

Make two or more backups of all your files

One backup is not enough to be safe. A copy of a backup doesn't count as another backup; all backups must be made directly from the original data.

Keep at least one backup off site at all times in case of disaster. Backing up to a cloud-data service is one way to accomplish this, but don't rely exclusively on such backups.

In fact, don’t rely exclusively on any single backup method, such as Time Machine.

If you get an indication that a backup has failed, don't ignore it.

Keep your software up to date

In the App Store or Software Update preference pane (depending on the OS version), you can configure automatic notifications of updates to OS X and other Mac App Store products. Some third-party applications from other sources have a similar feature, if you don’t mind letting them phone home. Otherwise you have to check yourself on a regular basis.

Keeping up to date is especially important for complex software that modifies the operating system, such as device drivers. Don't install such modifications unless they're absolutely necessary. Remove them when they are no longer needed. Before installing any Apple update, you must check that all system modifications that you use are compatible. Incompatibility with third-party software is by far the most common cause of difficulties with system updates.

Don't install crapware

...such as “themes,” "haxies," “add-ons,” “toolbars,” “enhancers," “optimizers,” “accelerators,” "boosters," “extenders,” “cleaners,” "doctors," "tune-ups," “defragmenters,” “firewalls,” "barriers," “guardians,” “defenders,” “protectors,” most “plugins,” commercial "virus scanners,” "disk tools," or "utilities." With very few exceptions, such stuff is useless or worse than useless. Above all, avoid any software that purports to change the look and feel of the user interface.

It's not much of an exaggeration to say that the whole "utility" software industry for the Mac is a fraud on consumers. The most extreme examples are the "CleanMyMac," "TuneUpMyMac," and “MacKeeper” scams, but there are many others.

As a rule, you should avoid software that changes the way other software works. Plugins for Photoshop and similar programs are an obvious exception to this rule. Safari extensions, and perhaps the equivalent for other web browsers, are a partial exception. Most are safe, and they're easy to get rid of if they don't work. Some may cause the browser to crash or otherwise malfunction. Some are malicious. Use with caution, and install only well-known extensions from relatively trustworthy sources, such as the Safari Extensions Gallery.

Only install software that is useful to you, not (as you imagine) to the computer. For example, a word processor is useful for writing. A video editor is useful for making movies. A game is useful for fun. But a "cache cleaner" isn't useful for anything. You didn't buy a computer so you could clean caches.

Never install any third-party software unless you know how to uninstall it. Otherwise you may create problems that are very hard to solve. Do not rely on "utilities" such as "AppCleaner" and the like that purport to remove software.

Don't install bad, conflicting, or unnecessary fonts

Whenever you install new fonts, use the validation feature of the built-in Font Book application to make sure the fonts aren't defective and don't conflict with each other or with others that you already have. See the built-in help and this support article for instructions.

Deactivate or remove fonts that you don't really need to speed up application launching.

Avoid malware

"Malware" is malicious software that circulates on the Internet. This kind of attack on OS X was once so rare that it was hardly a concern, but it's now increasingly common and dangerous.

There is some built-in protection against malware, but you can’t rely on it—the attackers are always at least one day ahead of the defense. You can’t rely on third-party "anti-virus" products for protection either. What you can rely on is common-sense awareness—not paranoia, which only makes you more vulnerable.

Never install software from an untrustworthy or unknown source. If in doubt, do some research. Any website that prompts you to install a “codec” or “plugin” that comes from the same site, or an unknown site, is untrustworthy. Software with a corporate brand, such as Adobe Flash Player, must come directly from the developer's website. No intermediary is acceptable, and don’t trust links unless you know how to parse them. Any file that is automatically downloaded from the web, without your having requested it, should go straight into the Trash. A web page that tells you that your computer has a “virus,” or that anything else is wrong with it, is a scam.

In OS X 10.7.5 or later, downloaded applications and Installer packages that have not been digitally signed by a developer registered with Apple are blocked from loading by default. The block can be overridden, but think carefully before you do so.

Because of recurring security issues in Java, it’s best to disable it in your web browsers, if it’s installed. Few websites have Java content nowadays, so you won’t be missing much. This action is mandatory if you’re running any version of OS X older than 10.6.8 with the latest Java update. Note: Java has nothing to do with JavaScript, despite the similar names. Don't install Java unless you're sure you need it. Most people don't.

Don't fill up your disk or SSD

A common mistake is adding more and more large files to your home folder until you start to get warnings that you're out of space, which may be followed in short order by a startup failure. This is more prone to happen on the newer Macs that come with an internal SSD instead of the traditional hard drive. The drive can be very nearly full before you become aware of the problem.

While it's not true that you should or must keep any particular percentage of space free, you should monitor your storage use and make sure you're not in immediate danger of using it up. According to Apple documentation, you need at least 9 GB of free space on the startup volume for normal operation.

If storage space is running low, use a tool such as OmniDiskSweeperto explore the volume and find out what's taking up the most space. Move seldom-used large files to secondary storage.

Relax, don’t do it

Besides the above, no routine maintenance is necessary or beneficial for the vast majority of users; specifically not “cleaning caches,” “zapping the PRAM,” "resetting the SMC," “rebuilding the directory,” "defragmenting the drive," “running periodic scripts,” “dumping logs,” "deleting temp files," “scanning for viruses,” "purging memory," "checking for bad blocks," "testing the hardware," or “repairing permissions.” Such measures are either completely pointless or are useful only for solving problems, not for prevention.

To use a Mac effectively, you have to free yourself from the Windows mindset that every computer needs regular downtime for maintenance such as "defragging" and "registry cleaning." Those concepts do not apply to the Mac platform.

A well-designed computing device is not something you should have to think about much. It should be an almost transparent medium through which you communicate, work, and play. If you want a machine that needs a lot of attention just to keep going, use a PC, or collect antique cars.

The very height of futility is running an expensive third-party application called “Disk Warrior” when nothing is wrong, or even when something is wrong and you have backups, which you must have. Disk Warrior is a data-salvage tool, not a maintenance tool, and you will never need it if your backups are adequate. Don’t waste money on it or anything like it.

My HDD is eating up free space on its own

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