A useful command to free up inactive RAM is to open the Terminal (cmd+space then search for Terminal) and type in "purge" then hit enter.
This will clear your inactive RAM freeing it up so that you don't use the swapfile on the HDD.
Shouldn't the OS do this without a command? Seems odd to me.
Shouldn't the OS do this without a command? Seems odd to me.
I was told that the macbook wont be using the full 16gb so it is not worth it and it cant handle 8gb module on each slot. also which type of ram should I buy and which brand for SSD
Yes, it should but OS X has some of the worse memory management I've encountered; the inactive RAM stays "inactive" for ages, even after closing all programs. Hence, the "purge" command is very useful in a tight spot.
OS X actually has one of fastest/best memory allocators available (you can look up the source code in the open-sourced kernel repo). All the figures you see in the Activity Monitor are absolutely meaningless unless you are experiencing some performance problem. Symptoms are there to identify the sickness, not the other way around. The only meaningful value for 'everyday' use is page-outs/(page-ins + page-outs)
With all due respect, I'm not an imbecile; with my usage patterns (I work with documents and research) 8GB ought to be plenty of RAM. The same work that I do on Windows 7 causes about 3-4GB of RAM to be in use at any one time, whereas in OS X (10.8.2) I'll often have 6 or 7GB tied up as inactive, in use or wired.
My pageouts were high, indicating the swapfile was being used and thus performance was being degraded (since the HDD has a lower bandwidth than the RAM modules). After a cursory look on Google I discovered the "purge" command and have never had problems with pageouts since.
Why should I upgrade my RAM because Apple is sloppy with certain aspects of their OS?
OSX is really bad in memory management. It just doesn't like to free up inactive memory. I got 1.6GB swap used with 2.64GB essentially free inactive memory. Linux and Windows both do a better job. OSX just consumes insane amounts and doesn't collect its garbage very well. Used to drive me nuts when I was running some local server tests a while back.
should i go 1x8gb module or 2x4gb.does it make any difference if not ill go with 1x8gb as if i want to go 16 i just buy another 8gb module and not buy another set of two x 8gb
OSX is really bad in memory management. It just doesn't like to free up inactive memory. I got 1.6GB swap used with 2.64GB essentially free inactive memory. Linux and Windows both do a better job. OSX just consumes insane amounts and doesn't collect its garbage very well. Used to drive me nuts when I was running some local server tests a while back.
@luke while more RAM helps the problem of OSXs rather buggy memory management, I don't see why you'd want 16GB. You have 4GB and report 2GB free. That seems as if even 8GB is a waste of money let alone 16GB.
RAM that one doesn't need is just useless.
As for the SSD I would get a Samsung 830 or 840 depending on which is cheaper.
I was told that the macbook wont be using the full 16gb so it is not worth it and it cant handle 8gb module on each slot. also which type of ram should I buy and which brand for SSD
OSX has no smart caching like Windows. It is only the WinXP thing of not removing pages at close and than being faster with relaunches. Using more RAM than the app needs doesn't help performance it just wastes RAM and kills performance of those apps that could actually make real use of the RAM or keep them from page in and out when they otherwise wouldn't need to.I don't think you could be further from the truth.
Any ram not being used is wasted ram. I want the system to use ALL my ram as using ram speeds up the system.