My storage goes down drastically everyday for no reason

About every other day I get the message saying that my storage space is about used up or competely full and I should remove some files. And I know it's wrong because 1) I have not added anything new to my hard drive 2) everything I use is attached to an external HD and 3) when ever I restart my laptop, the storage space gets reset to its real used storage (about 17 gigs).

I don't know why it just started doing this. I had this laptop for almost 3 years. Does anyone know what is causing this and where all this unused supposed drive space is going?

Thanks.

MacBook Pro, Mac OS X (10.7.5), 15 in high res dis mid2010 128 hdd

Posted on Apr 16, 2013 8:34 PM

Reply
19 replies

Apr 18, 2013 11:20 AM in response to Bethani G

First, empty the Trash if you haven't already done so. Then reboot. 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. You also need enough space left over to allow for growth of your 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.


If you're using Time Machine to back up a portable Mac, some of the available space will be used to make local snapshots, which are backup copies of files you've recently deleted. 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.

To locate large files, you can use Spotlight as described here. That method may not find large folders that contain a lot of small files.


You can also use a tool such as OmniDiskSweeper (ODS) to explore your volume and find out what's taking up the space. You can 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.


Proceed further only if the problem hasn't been solved.


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 ODS in the Applications folder as usual. Quit it if it's running.


Triple-click the line of text below to select it, then copy the selected text to the Clipboard (command-C):

sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper

Launch the 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. Click Utilities, then Terminal in the icon grid.


Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.


The application window will open, eventually showing all files in all folders. It may take some minutes for ODS to list all the files.


I don't recommend that you make a habit of doing this. Don't delete anything while running ODS 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 you're done with ODS, quit it and also quit Terminal.

Apr 19, 2013 7:37 PM in response to Linc Davis

I downloaded OmniDiskSweeper. I took a screenshot of my disk before I shut down my computer and it said I had 90.1 gigs taken up. I shut my laptop down and ran ODS again and now it says I have 84.8 gigs used. So that's 5.3 gigs that weren't there before.


Before:

User uploaded file


After:

User uploaded file

After looking at the differences, I noticed that the "private" folder is 5.4 gigabyes larger in the before, which is about what I was missing before I shut it down.


Here's a screencap of what my Private folder looks like now:User uploaded file


I don't know what exactly the private folder does, but that seems to be the folder that is somehow taking up too much space while my computer is on or in sleep-mode. I'll update in a day or so to see what changes. But if anyone can spot anything that looks abnormal, please let me know. Thanks. 🙂

Apr 20, 2013 8:19 AM in response to Bethani G

Your problem is excessive swapping of data between physical memory and virtual memory.


That can happen for two reasons:


  • You have a long-running process with a memory leak (i.e., a bug), or
  • You don't have enough memory installed for your usage pattern.


Tracking down a memory leak can be difficult, and it may come down to a process of elimination. In Activity Monitor, select All Processes from the menu in the toolbar, if not already selected. Click the heading of the Real Mem column in the process table twice to sort the table with the highest value at the top. If you don't see that column, select

View ▹ Columns ▹ Real Memory

from the menu bar.

If one process (excluding "kernel_task") is using much more memory than all the others, that could be an indication of a leak. A better indication would be a process that continually grabs more and more memory over time without ever releasing it.


The process named "WebProcess" renders web pages for Safari and other applications. It uses a lot of memory and may leak if certain Safari extensions or third-party web plugins are installed.

If you don't have an obvious memory leak, your options are to install more memory (if possible) or to run fewer programs simultaneously.

The next suggestion is only for users familiar with the shell. For a more precise, but potentially misleading, test, run the following command:

sudo leaks -nocontext -nostacks process | grep total

where process is the name of a process you suspect of leaking memory. Almost every process will leak some memory; the question is how much, and especially how much the leak increases with time. I can’t be more specific. See the leaks(1) man page and the Apple developer documentation for details:


Memory Usage Performance Guidelines: About the Virtual Memory System

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

My storage goes down drastically everyday for no reason

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