Subscribe to MacYourself via RSSSubscribe to MacYourself via EmailFollow MacYourself on Twitter
Apple Products and Accessories from Amazon.com

What is free, wired, active, and inactive system memory (RAM)?

What is free, wired, active, and inactive system memory (RAM)?

Mac users: Have you ever wondered what all that system memory stuff in the Activity Monitor was all about? Understanding the terminology – free, wired, active, and inactive RAM – can help you decide if your Mac has enough memory.

A quick peek at Mac OS X’s Activity Monitor to see how your system is performing can generate more questions than answers. The same thing goes for free Dashboard widgets like iStat Pro. That’s because the operating system categorizes system memory (commonly referred to as RAM) in a number of different ways, rather than just “used” and “free.” There’s a bit more going on behind the scenes, so we’re left to decipher the following terms: free, wired, active, inactive, page ins, page outs, etc. If you’ve ever wondered what all of this means and how it affects the speed & overall performance of your Mac, read on!

A vocabulary overview

When a Mac’s system memory is being used, OS X doesn’t just lump it all together. It’s very neatly organized, as you will soon find out. One thing to mention beforehand, though, is that information stored in RAM sometimes gets temporarily moved to and from the hard drive when there isn’t enough RAM available. Of course, this slows a Mac down considerably, so it generally only occurs as a last resort when the system runs out of RAM. Now that we have that out of the way, let’s continue!

Free memory
As one might expect, this is the RAM that is sitting there with nothing to do. It is completely free for the system to use when needed.

Wired memory
Critical information stored in RAM by the system, its kernel, and some key application components. This stuff is basically frozen – it allocates its space and never moves to the hard drive or gets replaced with user-level data when RAM becomes scarce. An interesting thing to note about wired memory is that it scales based on how much total system memory is installed. For example, a Mac with 1GB of RAM may show 400MB of wired memory, while a Mac with 4GB of RAM may use 700MB. The more memory you have, the more your Mac wants to use it!

Active memory
Information currently in use or very recently used. If you’ve got Safari, GarageBand, iTunes, and Photoshop all going at the same time, your active memory is likely fairly high. Quit one or two of these applications and active memory will shrink. But not all of it will go straight back to free memory… some goes to the next category.

Inactive memory
One of the great things about Mac OS X’s memory management system is that it never stops working for you. Inactive memory is basically a handy storage space for convenient access to your most used tools. Let’s say you were working in iPhoto and decide to quit it. Some of the information that was stored in active memory by this application will be moved to inactive memory. This way, when you open iPhoto next time it will load up faster than before. Why? Because the computer is not reading everything from its slow hard drive again. I just ran a quick test myself to illustrate this point: After a system restart, I opened iPhoto and it took 3 Dock icon bounces to launch. I quit iPhoto, did some other stuff, and came back to it a few minutes later. This time it launched in 1 bounce.

Page ins
The amount of information moved from the hard drive to RAM since the last system startup. Every time you open an application or file, this number goes up.

Page outs
The amount of information moved from RAM to the hard drive since the last system startup. When RAM is running low or needs to be shuffled around to the hard drive to accommodate higher priority data, this number increases.

How do I know if I should upgrade my Mac’s RAM?

Now that we all better understand how our RAM is being used, it’s much easier to determine whether or not more system memory is needed. Most people look at the number next to free memory and think a low amount means they need more RAM. This isn’t always the case. As previously mentioned, active memory can get released to inactive memory when it’s no longer in use. And this is almost always a good thing, since it can increase speed and responsiveness. So low free memory is something to be happy about! Your RAM isn’t sitting there being wasted – Mac OS X is utilizing it for your benefit.

Instead, you should be concerned when free AND inactive memory are both very low on a regular basis. This situation means most of your RAM is going to wired & active memory because your running applications are demanding all of it right now. Wired & active memory hold precedence, therefore they can grab as much RAM as they need and can force free & inactive memory to give up their space.

Along the same lines, an even bigger indicator of a need for more RAM is if page outs are swelling up too. When your Mac has to keep writing information to the sluggish hard drive because it doesn’t have any fast system memory left to hold it, freezes and hangups will become common. If that’s the case, time for an upgrade!

7 Comments Have Been Posted (Leave Your Response)

Thanks for the information. Just got a mac and needed to know if I should upgrade the ram.

Inactive RAM memory? Its causing problems and its not really a great thing to have. When RAM is inactive computer speed is questionable. Most of users are having a hard time with it and machine is getting very sluggish. Its weird there is anything we need to do about inactive RAM but it looks like its not going to be solved so OSX takes care about it itself. The way I fix this: Go to Utility folder, start “Disk Utility” , select your hard drive and click “Repair Disk Permission” It will fix it but needs to be done every day, sad but true…Lets hope Apple will fix this soon so we can use our computers without problems…

^If you are that unhappy with the way your mac handles your memory and fail to see the advantages of the mac memory management system, then you should go buy a windows machine.

If you are an intelligent computer user, you should do a reboot once every other day, if not everyday. It’s just good practice for all operating systems. Fundamental elements here. After rebooting your inactive memory is cleared and only used if you begin to call on your hard drive. This isn’t even necessary but is to YOUR ADVANTAGE.

When your mac stores information as inactive memory, it will speed your system up, not slow it down.

Lastly, and most importantly, when your mac needs the additional RAM, it simply takes it from inactive, thus you must be experiencing other speed related issues.

Feel free to post your running processes and I will take a look, but I do not think it is fair to tell our friends at Apple to fix something that essentially was a fix to begin with.

**If you MUST clear your inactive memory just to see more as “free” there are plenty of third party apps that will wipe it with the push of a button**

Thank you for this great info.
I have installed 8GB RAM and installed Parallels (Windows 7 gave it 3GB Ram)
when I check my memory, the wired memory is taking 4GB that is half of my memory, leaving me with very low memory for applications especially when I open iPhoto my mac is dead.
what should I do, how can I reduce the amount of memory used in wired section (system memory)
Please, help.

I looked this up after I realized there were 4 different
things… I opened it to figure out why a flash game made my new
MacBook slow. Asyou could expect, Adobe Flash went out of control
and used 126% of my CPU (???) and maxed out my RAM. I can’t wait
until HTML5 replaces Adobe….

Nice and simple article telling what I just wanted to know (and google supports you for that!)

[…] Впервые я услышал об этом трюке от Дмитрия Храпонова. Дело в том, что даже не смотря на наличие свободной ОЗУ, Mac OS все равно использует файл подкачки. О принципах работы ОС с ОЗУ (что такое активная, зарезервированная память) вы можете прочесть здесь (англ.). […]

Have Something To Say? Join The Discussion!

  (required)
  (required; will be kept private)
  (optional)