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

daneoni

macrumors G5
Original poster
Mar 24, 2006
12,039
1,959
Was working earlier today and noticed my RAM consumption. WHat do you guys think. should i move to 16GB or am i reading this wrong?
 

Attachments

  • RAM.png
    RAM.png
    33 KB · Views: 536
That's normal...OSX tends to use up to the amount of RAM you have available, but the amount of it actually making a difference tends to be a lot less than what's wired and used. Their terms for memory management are all really confusing...
 
You have a lot of blue ram...and even tho apple claims it won't slow things down....it will. Open terminal and type "purge". It will clear out all the blue memory (its just previously opened applications hibernating, just in case you open them again, to load faster.)
 
I am still not sure what the difference between wired and used ram is but you have 3 gigs of free ram that is inactive and not being used at all. You should type in purge in the terminal.

You still have plenty of RAM left before its going to use your harddrive.
 
if its the page outs thats worrying you remember thats accumalating until you reset, if you page outs spike that high after a few hours than more RAM might help
 
what application you're opening while taking this screen shoot?
 
Purging memory does not improve speed, contrary to popular belief, as free RAM is simply wasted. Since you have some page-outs, it's possible you may need more RAM, but it's impossible to say without knowing exactly what the circumstances of this screenshot are. Was this after an average day's work, or was this after having the computer powered on for a month, or with RAM-intensive apps that are not normally in use?

The best thing to do is to power the computer down, then start it up and use it normally for about a day, then check the page outs again. Nothing else in there is particularly meaningful when it comes to determining if you have enough RAM.

jW
 
Purging memory does not improve speed, contrary to popular belief, as free RAM is simply wasted. Since you have some page-outs, it's possible you may need more RAM, but it's impossible to say without knowing exactly what the circumstances of this screenshot are. Was this after an average day's work, or was this after having the computer powered on for a month, or with RAM-intensive apps that are not normally in use?

The best thing to do is to power the computer down, then start it up and use it normally for about a day, then check the page outs again. Nothing else in there is particularly meaningful when it comes to determining if you have enough RAM.

jW

I know there are people that believe that purging does nothing, but you are incorrect. My Mac pro has gotten to a point that 60% of my memory is inactive blue and everything starts crawling. I purge and it runs fast again.
 
Purging memory does not improve speed, contrary to popular belief, as free RAM is simply wasted. Since you have some page-outs, it's possible you may need more RAM, but it's impossible to say without knowing exactly what the circumstances of this screenshot are. Was this after an average day's work, or was this after having the computer powered on for a month, or with RAM-intensive apps that are not normally in use?

The best thing to do is to power the computer down, then start it up and use it normally for about a day, then check the page outs again. Nothing else in there is particularly meaningful when it comes to determining if you have enough RAM.

jW
This is the dumbest thing I have ever heard. How do you explain the fact that when I purge to get free ram, my page outs are 0 bytes (0 bytes/s). But when I don't purge and it keeps everything in inactive RAM, its going use page outs all the time.
 
Purging memory does not improve speed, contrary to popular belief, as free RAM is simply wasted. Since you have some page-outs, it's possible you may need more RAM, but it's impossible to say without knowing exactly what the circumstances of this screenshot are. Was this after an average day's work, or was this after having the computer powered on for a month, or with RAM-intensive apps that are not normally in use?

jW

Average days work. Safari with multiple tabs open, itunes, Spotify, Office, Mail, Aperture and most importantly VMWare for Windows. Sometimes i transcode video too.
 
Average days work. Safari with multiple tabs open, itunes, Spotify, Office, Mail, Aperture and most importantly VMWare for Windows. Sometimes i transcode video too.

Might as well upgrade to 16
 
Mal is correct about the free ram is wasted bit and the purge command does more harm then good. The purge command is to be used for debugging purposes, not everyday computing. It can increase the loading times of apps and in rare cases cause kernel panics when it tries to release wired memory.
 
Mal is correct about the free ram is wasted bit and the purge command does more harm then good. The purge command is to be used for debugging purposes, not everyday computing. It can increase the loading times of apps and in rare cases cause kernel panics when it tries to release wired memory.

The previous version of Safari had a MAJOR memory leak, and if you let it sit idle for long enough it would consume all of your ram. If you purged it would get the system back to normal. It is completely wrong that purge can cause issues or slow down your system. It is quite the opposite.
 
I have some RAM concerns as well. For instance, is it normal for nearly half your RAM to show used with absolutely NO applications open? My machine shows the attached stats at idle.
 

Attachments

  • Screen Shot 2012-07-05 at 5.59.38 PM.png
    Screen Shot 2012-07-05 at 5.59.38 PM.png
    109.1 KB · Views: 97
Here's an example how purge can slow down a system. You open Word 2011 to edit a document. You finish editing the document. You quit Word so that the Word process is no longer running. You then reopen Word, it open in less then one second because it is already in the RAM as an inactive application. You then quite fully Word again. This time you run purge. This clears Word from the RAM. You then go to open Word. Unlike the last reopen, you must wait for it to be loaded from the disc and processed. After a longer wait, it opens.

This example can be used with any process or executable file. in some rare cases the purge command can remove a critical bit of wired memory. Doing so will cause a kernel panic. It can also disrupt programs and executables that have mapped their memory to a location in the ram. The purge command reallocated all the free ram into one place. This can make said program's mapped locations invalid and cause it to crash. Another rare problem when running the purge comman is that when it moves the ram contents around, it could move used/wired ram into a bad part of a ram chip that is normally unused. This of course only happens of the computer had faulty ram.
 
Here's an example how purge can slow down a system. You open Word 2011 to edit a document. You finish editing the document. You quit Word so that the Word process is no longer running. You then reopen Word, it open in less then one second because it is already in the RAM as an inactive application. You then quite fully Word again. This time you run purge. This clears Word from the RAM. You then go to open Word. Unlike the last reopen, you must wait for it to be loaded from the disc and processed. After a longer wait, it opens.

This example can be used with any process or executable file. in some rare cases the purge command can remove a critical bit of wired memory. Doing so will cause a kernel panic. It can also disrupt programs and executables that have mapped their memory to a location in the ram. The purge command reallocated all the free ram into one place. This can make said program's mapped locations invalid and cause it to crash. Another rare problem when running the purge comman is that when it moves the ram contents around, it could move used/wired ram into a bad part of a ram chip that is normally unused. This of course only happens of the computer had faulty ram.

I understand entirely what is happening. But that is not slowing down the system...only the time it takes to reload an application (I have all SSD so the difference is so negligible.) The exchange for that extra nanosecond saved is the entire system choking up and running like crap. Your logic is flawed.
 
My logic is only flawed to those who don't fully know what that command does and how UNIX based systems work or to those stuck with the Windows mindset.

The action of reloading the data from the disc can take 5-30 seconds depending on the disc speed and the amount of data being loaded. I know on on SSD equipped iMac it takes it about 45 seconds to load my disgustingly huge iTunes library. But if I quit iTunes and then reopen it, the launch time is roughly 5 seconds.

In addition to what I posted above, it forces running processes to clear out older RAM pages. Most applications like iTunes, FireFox, Chorme, Office suite apps, and Xcode don't like this forced clearing. In doing so one can create a slow down and sluggishness for a few minutes after the command is run. These disadvantages far outweigh the small short term advantages and drastically effect long term computing.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.