iMac with 8GB RAM -- memory always almost full

Because OSX manages memory (as does Windows) it is often difficult to tell if performance issues are caused by memory limits. Technically, you really want the OS to capture all the available memory and allocate as needed, in which case, you would see all of the memory being 'used', even though there may be memory available but not allocated by the OS.

This is somewhat analogous to what is happening in OSX and Win7+. However, Apple has made it confusing in the past with many memory classifications, like Wired, Swap, Real, etc.

Luckily, you are running Mavericks, and a new feature of Mavericks is the Memory Pressure graph, described in the Apple support document here: http://support.apple.com/kb/HT5890

enter image description here

Basically, if the memory graph shows Red, you need more RAM, if its Green, you are good. I suggest reading the article for more details, but the Red, Yellow, Green is a great visual tool to help guide where you might be seeing problems.

Depending on your model, I have personally found Macs suffer more from hard drive access speed than memory limits, so an SSD, if your iMac does not have one, has a huge impact (and unfortunately quite a bit of work to put into your iMac)


As any modern operating system, OS X tries to make use of RAM as much as possible. For example, OS X:

  • keeps data in memory when an application quits to gain time if it’s launched again;
  • caches recently used files from your (slow, slow) hard drive for faster later access.

Obviously, this memory is still available for other uses if need be. But the system rightfully see no need to “free” it right now: it waits for the need to appear.

This means that, after running for a while, your computer will always indicate that your memory is completely used or almost. It doesn’t mean you don’t have enough RAM, just that the system doesn’t let it go to waste.

To know if you’re actually lacking in memory, you should mainly check if you’re swapping often. I would refer to @cmason’s excellent answer.


Get yourself an SSD. 10.9.2 knows quite well how to efficiently manage your RAM and you should not worry about it. As it is said above OSX will try and keep as much memory used as possible, for healthy reasons.

8GB is right for normal usage (heavy video/graphic editing not considered normal in this context).

I have an early 2011 15" MBP w/8GB that just became a different, way faster, machine when I installed an SSD. I run Win7 virtual machines off VirtualBox, with the virtual machines on an external FireWire 800 drive, no problem.


I like @cmason's answer, but I'd like to clarify a few foundational things.

You have two separate questions here: (1) The lags you report is most likely hard disk-induced, as hinted by some answers. Going to the right place in a hard disk takes often on the order of ~10 ms, and these delays build up to be visible to a user. (2) Memory is full because the memory is used as cache of the disk.

The only relation is that when the system needs to read again the same stuff from disk, having more RAM used as cache could help (if what you need was kept in RAM).

But whenever the system reads new stuff from the hard disk, only a faster disk (an SSD) can help (alternatively, some systems try to guess what the system is going to read from the disk and read it in advance, but this cannot do miracles in general, since computers don't have crystal balls to predict the future).