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

ArtOfWarfare

macrumors G3
Original poster
Nov 26, 2007
9,563
6,062
My iMac only has 3 GB of RAM and the most it can support is 4 GB (I think? It's an original Al iMac from 2007. It came with 2 GB of RAM in the form of 2x1GB... I replaced one of the sticks with a 2GB 2 years ago or so.)

I'm in too tight a spot to afford a new computer and even another 2 GB stick... actually... only $14 now? That's a good deal cheaper than I expected... (I think I paid $40 a few years ago?) I may just buy one of those sticks...

Anyways, I've found the following for improving RAM usage (most of it having to do with Safari.)

1 - Never ever use the grid view. It's loading every single page that's in that view. I had had it set up to display 3x4 every time I opened a new tab or window. I changed my preferences to open everything with an empty page. This has saved me a lot of memory according to Activity Monitor.

2 - Install the ClickToPlugin extension. It blocks all Flash, Silverlight, Java, etc., from loading automatically. Saves a lot of memory.

3 - Use "purge" in Terminal. Turns all of your inactive memory into free memory... my understanding is "inactive" memory is memory that is being held onto from documents you had open but have now closed, for example. The idea is you might want to open it again right after closing it. Supposedly it's as good as free memory because the OS will go ahead and use it for other things. It seems to me that it's a nice idea, but doesn't work in practice. I have no idea why, but free memory seems a lot better than inactive.

4 - Never ever launch iMessages. I have no idea why, but that app eats memory like nothing else I've ever seen. I've had it use 2.5 GB of real memory (of the 3 GB I have!) and use up 11 GB of virtual (and it was still climbing!) It's insane! It doesn't always behave that way, but it does often enough that I've stopped trying to use it. I suspect the issue is something to do with when it hangs while downloading a picture.

Now...

does anyone have any other tips for making the most of your computers RAM?

Also, can anyone tell me exactly what I should look for when buying RAM? Am I looking at the wrong thing when I see a 2 GB stick for just $14?
 

snberk103

macrumors 603
Oct 22, 2007
5,503
91
An Island in the Salish Sea
,,,

3 - Use "purge" in Terminal.....


does anyone have any other tips for making the most of your computers RAM?

Also, can anyone tell me exactly what I should look for when buying RAM? Am I looking at the wrong thing when I see a 2 GB stick for just $14?

I agree with your list, except for #3. I haven't experimented with this, but from other people whose knowledge I trust, my understanding is that "Purging" may actually slow things down some . "Inactive" memory has stuff from recently opened applications. However, the moment you need more memory for a different application it is freed up so that the 2nd application can access it. In that regard, there is no penalty in having "Inactive" memory.

However, should you happen to open an application whose contents should have been held in "Inactive" memory then you are paying a penalty for not letting the system manage the RAM itself.

I think perhaps the advice to "Purge" is older advice, not really necessary for today's systems. Though perhaps you are using an older version of OS X.

------

My addition to your advice list, from the days when I had a RAM starved system.

1) Quit programs when not in use.
2) When I was going to use Photoshop, which likes as much RAM as you can throw, I would restart the system.

--------

Get the extra RAM. It will make a huge difference in your experience, likely. Consider that of your 3 GB a large portion is full of stuff that you can't do without..... think of it of non-discretionary use by the OS and the kernel. The extra stick of RAM is therefore increasing (by a large ratio) the RAM used by your discretionary applications.

Good Luck...
 
Nov 28, 2010
22,670
31
located
My iMac only has 3 GB of RAM and the most it can support is 4 GB (I think? It's an original Al iMac from 2007. It came with 2 GB of RAM in the form of 2x1GB... I replaced one of the sticks with a 2GB 2 years ago or so.)

Actually, that iMac can support 6 GB RAM, I have a 20" 2007 iMac and it currently has 4 GB, but then again, it still uses Mac OS X 10.6 Snow Leopard, which is not as RAM hungry as newer OS X versions.
You could also try an SSD, I upgraded my 2007 iMac to one, and it was an okay procedure, but I also build one or two computers using available parts.
 

grapes911

Moderator emeritus
Jul 28, 2003
6,995
10
Citizens Bank Park
3 - Use "purge" in Terminal. Turns all of your inactive memory into free memory... my understanding is "inactive" memory is memory that is being held onto from documents you had open but have now closed, for example. The idea is you might want to open it again right after closing it. Supposedly it's as good as free memory because the OS will go ahead and use it for other things. It seems to me that it's a nice idea, but doesn't work in practice. I have no idea why, but free memory seems a lot better than inactive.
The purge command is great for when you have a problem but using it to turin inactive memory into free memory will just slow your computer down overall. Inactive memory is memory that was used but it is no longer used. If it's needed it will be overritten and used just like free memory. It does work and unless you have actual evidence to the contrary, I'm assuming you are just experiencing the placebo effect.
 

CrickettGrrrl

macrumors 6502a
Feb 10, 2012
985
274
B'more or Less
Generally, a rule of thumb everyone mentions, matched RAM is best. However, if you have the iMac 7,1, according to MacTracker & OWC, you can have a max of 6GB RAM, keeping your 2GB and getting a 4GB stick for about $52, ----so, unmatched...:rolleyes:

Ha, beaten by Simsaladimbamba who's probably had way more coffee than me.
 
Nov 28, 2010
22,670
31
located
Generally, a rule of thumb everyone mentions, matched RAM is best. However, if you have the iMac 7,1, according to MacTracker & OWC, you can have a max of 6GB RAM, keeping your 2GB and getting a 4GB stick for about $52, ----so, unmatched...:rolleyes:

Ha, beaten by Simsaladimbamba who's probably had way more coffee than me.

Gladly I do not drink coffee, only in social situations maybe, and sadly, I know many Macs' maximum RAM amounts by heart, due to EveryMac being a daily visited website. And I also have that iMac 7,1. And, there is probably a rhinoceros somewhere in there, who cannot think about evening out the dent she bumped into my car, but instead just sits there and looks at the third sun from the moon.
 

CrickettGrrrl

macrumors 6502a
Feb 10, 2012
985
274
B'more or Less
Gladly I do not drink coffee, only in social situations maybe, and sadly, I know many Macs' maximum RAM amounts by heart, due to EveryMac being a daily visited website. And I also have that iMac 7,1. And, there is probably a rhinoceros somewhere in there, who cannot think about evening out the dent she bumped into my car, but instead just sits there and looks at the third sun from the moon.

Yep, those damned Rhinoceri, probably drank too much coffee.

Just wondering, can a lack of HDD space clog things up like not having enough RAM?
 
Nov 28, 2010
22,670
31
located
Yep, those damned Rhinoceri, probably drank too much coffee.

Just wondering, can a lack of HDD space clog things up like not having enough RAM?

Yes, it can. It is advised to have at least 10 to 20 % of the HDD/SSD's capacity unused, though with 1 TB HDDs very common nowadays, 50 GB of available storage capacity should be enough. For temporary files and such.
 

ArtOfWarfare

macrumors G3
Original poster
Nov 26, 2007
9,563
6,062
Inactive memory is memory that was used but it is no longer used. If it's needed it will be overritten and used just like free memory. It does work and unless you have actual evidence to the contrary, I'm assuming you are just experiencing the placebo effect.

It may be. I tried #2 and #3 at the same time, so that is a likely source of error.

My computer seems to be chugging along using just 2 GB of its 3 GB of RAM right now, so maybe I won't need more RAM after all. ($52 for 40% more RAM sounds nice, but I'm a student in debt with a few more terms still coming up so... I'm hoping my current set up will last me through until the end so I can get out of debt as quickly as possible.)
 

mrsir2009

macrumors 604
Sep 17, 2009
7,505
156
Melbourne, Australia
I don’t think purging the RAM is needed, as unless there’s something wrong with your computer it should clear out inactive memory by itself, as needed. In my experience purging the RAM actually decreases preformance in most cases, as if any of the RAM is empty you’re not making the most of it.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.