Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Hardware > Desktops > Mac mini

Reply
 
Thread Tools Search this Thread Display Modes
Old Aug 21, 2011, 11:04 AM   #1
RKilbane20
macrumors 6502a
 
Join Date: Jun 2009
Inactive 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?



Uploaded with ImageShack.us
RKilbane20 is offline   -1 Reply With Quote
Old Aug 21, 2011, 11:52 AM   #2
volodymyrqa
macrumors member
 
Join Date: Apr 2011
Location: Kyiv, Ukraine
maybe there is no point in 8gb of ram for mini?
volodymyrqa is offline   -2 Reply With Quote
Old Aug 21, 2011, 12:53 PM   #3
Vermifuge
macrumors regular
 
Join Date: Mar 2009
Quote:
Originally Posted by RKilbane20 View Post
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?

Image

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.
Vermifuge is offline   -3 Reply With Quote
Old Aug 21, 2011, 01:20 PM   #4
DustinT
macrumors 68000
 
DustinT's Avatar
 
Join Date: Feb 2011
Quote:
Originally Posted by RKilbane20 View Post
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.
__________________

My townhouse could pass for a well stocked Apple store.
DustinT is offline   1 Reply With Quote
Old Aug 21, 2011, 04:30 PM   #5
OTACORB
macrumors 6502a
 
Join Date: Jun 2009
Location: Central, Louisiana
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.
__________________
Samsung Galaxy Note 3
MacBook Pro Retina (2013)
Mac Mini (2012)
iPad rMini 32GB White Wifi
OTACORB is offline   0 Reply With Quote
Old Aug 21, 2011, 11:58 PM   #6
throttlemeister
macrumors 6502
 
Join Date: Mar 2009
Location: Netherlands
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.
__________________
Macbook Pro 2.93 | 8GB | 120GB OWC Extreme Pro + 320GB/7200rpm | 24" LED Cinema Screen
Macbook Pro Retina 2.7 | 16GB | 512MB Flash | 1TB Crucial SSD external over Thunderbolt
throttlemeister is offline   3 Reply With Quote
Old Aug 22, 2011, 12:39 AM   #7
theSeb
macrumors 603
 
Join Date: Aug 2010
Location: Poole, England
Quote:
Originally Posted by RKilbane20 View Post
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?

Image

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.

----------

Quote:
Originally Posted by volodymyrqa View Post
maybe there is no point in 8gb of ram for mini?
I implore you to please not spread misinformation.
theSeb is offline   3 Reply With Quote
Old Aug 22, 2011, 12:56 AM   #8
applefanDrew
macrumors 65816
 
Join Date: Jul 2010
Open terminal -> type purge -> hit enter
__________________
Check out my app: https://itunes.apple.com/us/app/ligh...439464806?mt=8
applefanDrew is offline   0 Reply With Quote
Old Aug 22, 2011, 01:02 AM   #9
theSeb
macrumors 603
 
Join Date: Aug 2010
Location: Poole, England
Quote:
Originally Posted by Vermifuge View Post
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 annk; Aug 22, 2011 at 12:20 PM. Reason: Removed insults
theSeb is offline   0 Reply With Quote
Old Aug 22, 2011, 01:49 AM   #10
Vermifuge
macrumors regular
 
Join Date: Mar 2009
Quote:
Originally Posted by theSeb View Post
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 annk; Aug 22, 2011 at 12:21 PM. Reason: Clean-up in quoted post
Vermifuge is offline   0 Reply With Quote
Old Aug 22, 2011, 03:40 AM   #11
theSeb
macrumors 603
 
Join Date: Aug 2010
Location: Poole, England
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.
theSeb is offline   0 Reply With Quote
Old Aug 22, 2011, 03:38 PM   #12
accessoriesguy
macrumors 6502a
 
Join Date: Jul 2011
all those extra 0's in 64 bit are eating up everyone's memory
__________________
accessoriesguy is offline   0 Reply With Quote
Old Aug 22, 2011, 04:10 PM   #13
indg
macrumors 6502
 
Join Date: Feb 2007
this is a silly discussion. i'm rating this thread 1 star.
indg is offline   1 Reply With Quote
Old Aug 23, 2011, 12:08 AM   #14
theSeb
macrumors 603
 
Join Date: Aug 2010
Location: Poole, England
Quote:
Originally Posted by indg View Post
this is a silly discussion. i'm rating this thread 1 star.
I should apologise to vermifuge as I got a bit carried away.
theSeb is offline   0 Reply With Quote
Old Aug 23, 2011, 12:12 AM   #15
Lokheed
macrumors regular
 
Join Date: Jun 2009
Quote:
Originally Posted by throttlemeister View Post
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.
Lokheed is offline   1 Reply With Quote
Old Jan 4, 2013, 10:41 PM   #16
technowar
macrumors 6502
 
Join Date: Apr 2011
Location: Cebu, Philippines
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!
__________________
Trigger Happy
technowar is offline   0 Reply With Quote
Old Jan 5, 2013, 12:34 PM   #17
jfjkd01
macrumors newbie
 
Join Date: Oct 2009
How about changing your Apps from 64 bit to 32 bit.
jfjkd01 is offline   0 Reply With Quote
Old Jan 5, 2013, 08:06 PM   #18
paulrbeers
macrumors 68040
 
Join Date: Dec 2009
Quote:
Originally Posted by technowar View Post
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!!!
__________________
rMBP 11,2 15" 2.0Ghz w/ 256GB SSD
MBA 6,2 13" 1.7Ghz w/ 256GB SSD
Mac Mini 6,2 2.3ghz w/ 240GB SSD + 1TB
Mac Pro 1,1 w/ 8 cores @ 2.66 w/ 240GB SSD
paulrbeers is offline   0 Reply With Quote
Old Jan 6, 2013, 04:52 AM   #19
dasx
macrumors 65816
 
dasx's Avatar
 
Join Date: Jun 2012
Location: Barcelona
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.)
Attached Images
 
__________________
Grey computer which does complicated stuff.
Cell phone that can talk to me. (Seriously).
"Fancy quote from dead guy"

Last edited by dasx; Jan 6, 2013 at 04:58 AM.
dasx is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Hardware > Desktops > Mac mini

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Why does OSX crawl when "free" memory runs out but I still have inactive/wired ls1dreams OS X 10.8 Mountain Lion 0 Nov 30, 2013 08:47 PM
MacBookPro paging out instead of using 1.6+gb of inactive memory applepie555 OS X 5 Sep 3, 2013 05:12 AM
Inactive memory atteligibility OS X 10.8 Mountain Lion 11 Feb 7, 2013 01:24 PM
How to free up inactive memory? BB.King MacBook Pro 9 Aug 12, 2012 12:47 AM
ML Memory Crisis: Inactive Overload Nimoy OS X 10.8 Mountain Lion 3 Jul 27, 2012 10:57 PM

Forum Jump

All times are GMT -5. The time now is 08:55 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC