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

RKilbane20

macrumors 6502a
Original poster
Jun 9, 2009
589
8
I have 8 gigs of ram in my Mac Mini, It uses so much RAM as inactive, I know its there to make things faster for a later time but its using almost 5 gigs of ram. Is there a way to limit how much ram can be stored as inactive?



Uploaded with ImageShack.us
 
I have 8 gigs of ram in my Mac Mini, It uses so much RAM as inactive, I know its there to make things faster for a later time but its using almost 5 gigs of ram. Is there a way to limit how much ram can be stored as inactive?

[url=http://img690.imageshack.us/img690/2056/screenshot20110821at120.png]Image[/URL]

Uploaded with ImageShack.us

I blame Lion. Memory handling is just terrible. I would say you are OK. Lion will kill of any inactive programs when it needs memory for an active program and move it to the swap file.

Its the free memory you need to worry about. Looks like safari has a terrible memory leak. And it will slowly consume all available memory.
 
I have 8 gigs of ram in my Mac Mini, It uses so much RAM as inactive, I know its there to make things faster for a later time but its using almost 5 gigs of ram. Is there a way to limit how much ram can be stored as inactive?
This is something you should really just leave alone. Apple has this setup as they see fit and if you start messing with it you'll unravel the whole sweater. Anyway, there's zero harm from this ram being used. In fact, it makes your system faster.
 
They will slowly stamp out these type issues, Lion hasn't long been released and I agree the memory management needs to be improved. But I also agree that as of now it is best to just leave it alone. It will all iron itself out over time like always.
 
Unused memory == wasted memory.

Inactive is basically free, just used by program caching and if it is needed it is discarded.

You have no issue whatsoever with memory. I wish people would stop being so obsessed with memory stats, particularly if they don't fully understand how it works. No offense.
 
I have 8 gigs of ram in my Mac Mini, It uses so much RAM as inactive, I know its there to make things faster for a later time but its using almost 5 gigs of ram. Is there a way to limit how much ram can be stored as inactive?

[url=http://img690.imageshack.us/img690/2056/screenshot20110821at120.png]Image[/URL]

Uploaded with ImageShack.us

Five seconds of using a search engine would have answered your question. Apple even have a nice support page bereft of any technical terms

http://support.apple.com/kb/ht1342

This information in memory is not actively being used, but was recently used.

For example, if you've been using Mail and then quit it, the RAM that Mail was using is marked as Inactive memory. This Inactive memory is available for use by another application, just like Free memory. *However, if you open Mail before its Inactive memory is used by a different application, Mail will open quicker because its Inactive memory is converted to Active memory, instead of loading Mail from the slower hard disk.
*

You want to limit the amount of inactive memory? That does not make any sense. A user such as you should not even be looking at activity monitor or at least take the time to understand what you're looking at. Let the operating system do what it is designed to do - manage memory. The people who wrote it know a lot more about memory than you so it's ok to let the os get on with it. The only number you should be looking at is the page outs.

----------

maybe there is no point in 8gb of ram for mini?

I implore you to please not spread misinformation.
 
I blame Lion. Memory handling is just terrible. I would say you are OK. Lion will kill of any inactive programs when it needs memory for an active program and move it to the swap file.

Its the free memory you need to worry about. Looks like safari has a terrible memory leak. And it will slowly consume all available memory.

You blame Lion for what? Very efficient memory handling? Or are you one of the cool kids that rants and raves about how rubbish lion is and how awesome snow leopard was?

Seriously, please leave your opinion to threads where you can reminisce about spaces and don't try to comment on things you obviously do not know about. If you knew what inactive memory was, then you wouldn't have posted what you just have. The worst part is the hundreds of impressionable of readers on this site that will actually believe the drivel you have just posted.
 
Last edited by a moderator:
You blame Lion for what? Very efficient memory handling? Or are you one of the cool kids that rants and raves about how rubbish lion is and how awesome snow leopard was?

Seriously, please leave your opinion to threads where you can reminisce about spaces and don't try to comment on things you obviously do not know about. If you knew what inactive memory was, then you wouldn't have posted what you just have. The worst part is the hundreds of impressionable of readers on this site that will actually believe the drivel you have just posted.

Despite it's bugs I actually happen to really enjoy Lion client. I could make a list off all the features I do enjoy but that would take this thread seriously off topic. Lion server is another subject all together. We can save that discussion for the proper board, or PM like the 'civilized' individual I'm sure you are.

I believe my "opinion" is sound. Lion isn't very good at memory handling. Safari has a serious memory leak. The "inactive" memory should become available as other applications require it but Lion does not always do that. Being a professional I do run my system a little harder then most. So I may see behaviors that the typical user may not.

Again If you would like numbers, statistics, proof or just information about my methodology please feel free to PM me.
 
Last edited by a moderator:
No need to go PM - just post what you have here since it may be interesting for others too. A memory leak in the latest version of Safari has nothing to do with the memory management in the operating system.

I have a computer science degree and design enterprise solutions so I have a bit of an idea about this darn computer stuff and ones and zeros, or at least I pretend to know enough to make a decent living out of it.
 
Unused memory == wasted memory.

Inactive is basically free, just used by program caching and if it is needed it is discarded.

You have no issue whatsoever with memory. I wish people would stop being so obsessed with memory stats, particularly if they don't fully understand how it works. No offense.

OH YES! THIS! Cripes oh mighty people. If you don't know anything about memory management, or how a system uses RAM (99.9% of us) just leave it be. Go freak out about all the starving kids all over this world, or the AIDS epidemic in Africa. Seriously.
 
I don't know if this is a good thing or what.

We have the same gig of RAM, and my inactive memory is about 5.2GB. It lags like hell when opening two or more Xcode and it seems like my inactive memory is just a waste, though I could be wrong.

Please advice as my Mac lags like hell!
 
i don't know if this is a good thing or what.

We have the same gig of ram, and my inactive memory is about 5.2gb. It lags like hell when opening two or more xcode and it seems like my inactive memory is just a waste, though i could be wrong.

Please advice as my mac lags like hell!

holy thread revival batman!!!
 
Inactive memory is a good thing. People should stop worrying about it. You can even consider it as free memory.

If you've been using an app, when quitting it all of its memory isn't cleared unless the app states so. This memory stays inactive so if you run the app again it's immediately available.

Also, there are several things that are stores in memory that you wouldn't expect. For example... disk writes. When you create a text file for instance, part of it (if not all) is stored in memory before it's in its actual physical spot of the drive.

There are ways to see this. If someone's comfortable using terminal, type:

Code:
find ~ -size +100M | head -n1

This will output the first file found in your home directory which is over 100MB.

Then do:

Code:
time cat <PathToThatFile> > /dev/null

You'll see some times appear the window.

Then run it again:

Code:
time cat <PathToThatFile> > /dev/null

You'll see times are A LOT lower. See attached image.

That's because that file, after being read, has been stored in memory for if you need to access it again. That is probably system or active memory, but it will eventually go to inactive memory and, when needed, to free (or active again).

My point being, your RAM used isn't the sum of the RAM of all the apps you're running. There's a bunch of stuff using RAM that it's pointless trying to control it. Just use your machine and in case it slows down considerably launch activity monitor and go tot he memory tab.
Doesn't matter if you don't have any free memory as long as you have inactive. The OS should be able to automatically free the inactive memory and give it to whatever app needs it.

Problems start when the system starts to Page Out. If your swap memory is used, then everything will slow down.

(i.e. You have 2 gigs of RAM and launch an iPhoto with a 1.000.000+ photo library. System will page out and will need to use the disk as memory.)
 

Attachments

  • aaa.jpg
    aaa.jpg
    58.9 KB · Views: 2,123
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.