Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

XnavxeMiyyep

macrumors 65816
Original poster
Mar 27, 2003
1,131
4
Washington
I was looking at Activity Monitor, and I noticed that about 200 MB of my RAM (I have 768 MB) was listed as inactive RAM. That was more than free RAM at the time. What is inactive RAM, and is there any way to make it free or active?

EDIT: It seems to be continually growing. 350 MB of inactive RAM. Is there a reason for this, or a way to stop it?
 

Makosuke

macrumors 604
Aug 15, 2001
6,664
1,244
The Cool Part of CA, USA
This question comes up every once in a while. The short answer is "It's supposed to do that, don't worry about it, let the OS take care of itself."

The long answer: OSX (and other UNIXes, I assume) has four different RAM states, as you can see in the Activity Monitor or a utility like Top: Wired, Active, inactive, and Free.

Wired is RAM that has been permanantly reserved by the OS, and can't be swapped out to disk to make room for anything else. It's "system RAM" of sorts, mostly the kernel I believe.

Active RAM is memory that is currently in use by an application. It can be paged out temporarily if more RAM is needed for something else and there isn't enough left, but it's doing work of some sort.

Inactive RAM is what's confusing you; this is RAM that was originally reserved by an application, but isn't necessary anymore. The system keeps it ready, though, in case it's needed again--that way it doesn't have to be re-loaded. Otherwise, it can just be removed to make room for something more important.

For example, you launch an application. It loads a bunch of stuff into memory that it needs. Then you quit it. The system could just remove this stuff from memory, but instead it marks it "inactive". If you then open the application again, it doesn't need to re-load a lot of that stuff, since it's already in memory--it just gets marked active again. But if you open some other application that needs that memory, the inactive stuff gets thrown away, since it wasn't actually being used.

Free RAM is, of course, free--sitting there, waiting to do something. You could also think of it as being wasted, since there's nothing at all being stored in it, unlike inactive RAM which at least might do some good.

The bottom line is that inactive RAM is like free RAM, except it might be good for something.
 

4409723

Suspended
Jun 22, 2001
2,221
0
Thanks for clearing that up, I've been wondering what inactive meant for some time.

PhysMem: 97.5M wired, 318M active, 737M inactive, 1.13G used, 126M free

My specs at this moment.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.