I use a Mac for software development. It has 4GB of RAM (cannot be upgraded), and when I power it on, without any programs run by me, it consumes 2GB of memory. I develop a Rails app and the server itself needs a lot of memory, so I always have a free memory problem.
The question is, why does the OS consume half of my memory?
And is there any way to reduce the memory consumption? I turned off all widgets but does not help so much. I do not want any fancy thing from the OS, but just to develop...
Does anybody have any idea about this?
Ok Guys. I did more inspections to see what is happening there. I agree OSX doesnt consume so much. but i see a very strange behaviour: that, I have arround 1.5GB INACTIVE MEMORY, my Rails server needs more memory, and then it start to use harddisk so much. there are lots of pageouts so that my server stops functioning.
i guess INACTIVE MEMORY should get freed right when some program needs more memory. but it doesnt. when I even do the "purge" command it doent free it so much. So the question is, in what case something like this can happen to the INACTIVE MEMORY? does any body has similar experience?