PDA

View Full Version : Over a gig of RAM "used" before even opening any programs?




mattcube64
Mar 18, 2007, 09:39 PM
Macbook 2GHz Core Duo
2GB of Corsair RAM (1GBx2)

Okay, maybe this is completely normal, I don't know. It just seems kinda weird.

When I turn on my Macbook and log in, I can display my widgets, and before opening anything (other than those widgets, about 13 of them, some complicated, some just the Google search and dictionary), iStat Nano's RAM "tracker" displays that my RAM usage is slowly climbing. Eventually, my "used" RAM climbs just past a gig. However, only about 150MB is Active, about 200MB is Wired, and nearly *700(!)* Megs is inactive. Why does my Macbook use a gig of RAM, but keep 70% of it inactive?

Is that normal? Is there some type of "cache" I need to clear, or what?

Thanks.



psycoswimmer
Mar 18, 2007, 09:41 PM
I only have a 1GB of RAM but this happens to me often too. I'll have 70mb of free memory, just Safari and iChat open, and about 500MB inactive.

polevault139
Mar 18, 2007, 09:45 PM
widgets take up alot of RAM for how small they are look at the activity monitor before you open up you widgets and then get a more accurate reading.

NewbieNerd
Mar 18, 2007, 10:43 PM
I'm pretty sure the inactive RAM is just RAM that has been used before and is left there as a kind of cache for if the same Apps or whatnot are reopened that were using that RAM before. If and when you no longer have free RAM, the OS will use that inactive RAM just the same.

I may be wrong about all that, but I feel like that's the case. :)

orangemacapple
Mar 18, 2007, 10:45 PM
INACTIVE RAM is free ram. it has been used and released.

It's like HDD space for trash that has not been securely deleted – it's available to be written over but has, as yet, not been utilized for such.

ADD the inactive to the free to get the true amount of FREE ram you have available.

siurpeeman
Mar 18, 2007, 10:59 PM
I'm pretty sure the inactive RAM is just RAM that has been used before and is left there as a kind of cache for if the same Apps or whatnot are reopened that were using that RAM before. If and when you no longer have free RAM, the OS will use that inactive RAM just the same.

I may be wrong about all that, but I feel like that's the case. :)

i think you're right. i was playing around with cover flow in itunes, and 600 mb were allocated to the program. when i mimimized the window, itunes had shrunk to only 32 mb or so, but the inactive memory increased 500 mb.

WillJS
Mar 18, 2007, 11:15 PM
Try this AppleScript:

tell application "Dock"
quit
launch
end tell

Widgets are subprocesses of the dock, this restarts the dock.. thus quitting the widgets.:)

CanadaRAM
Mar 18, 2007, 11:18 PM
Don't obsess over the way OSX manages RAM -- just leave it to do its thing.