At 1:19 AM +0000 2/21/07, Jose Commins wrote:
Not a problem, more of curiosity of operation. Say I launch an
app. I get the app to start loading media. When (Wired + Active)
reaches 1070MB on my 1.5GB system, no matter what I do it continues
paging with (Wired + Active) staying at the same value, with
'Inactive + Free' at 466MB. Correct me if I'm wrong, it looks like
the system is holding onto that 466MB, so in Real Life only 1GB of my
system's 1.5GB memory is actually physically usable by an application?
I think your confusion is with "inactive" memory.
Inactive memory is not free memory. It's not even really "inactive".
It's more like "not used as recently as most of the other memory, but
still in use".
So:
Before:
PhysMem: 170M wired, 896M active, 451M inactive, 1.48G used, 17.2M
free
After:
PhysMem: 174M wired, 889M active, 455M inactive, 1.48G used, 16.8M
free
In both cases, your machine is using pretty much all available RAM.
(1.48G used) The approximately 16MB free is there so apps can grab
memory without waiting for the VM system to free up some space. It can
quickly and temporarily drop, but the VM system will attempt to keep
some memory free.
-pmb