Re: Reducing memory consumption
Re: Reducing memory consumption
- Subject: Re: Reducing memory consumption
- From: Cameron Hayne <email@hidden>
- Date: Thu, 12 Oct 2006 16:34:43 -0400
On 12-Oct-06, at 3:39 PM, Greg Guerin wrote:
I think "real" is how much memory is really being used: RSIZE, in
'top'
terms. That is, I think it's "real as in allocated", rather than
"real the
opposite of virtual". This interpretation would mean that RSIZE
tells you
the total size of potentially swappable memory for that process
I agree that what Activity Monitor shows as "Real" is the same as
RSIZE in 'top'.
But I think your interpretation is wrong. RSIZE indicates the amount
of physical RAM current in use by this process. The process may have
allocated a lot more than this. The total allocated space would show
up as VSIZE.
One common point of confusion (seen earlier in this thread) is that
the size of the swap files (under /var/vm) does not correspond with
the amount of virtual memory in use. A process can have a large
amount of virtual memory allocated without any of that necessarily
corresponding to a swap file. Unlike other versions of Unix, the
virtual memory is not backed by an equivalent amount of disk storage.
You might find it interesting to play around with my "VMTester" program:
http://hayne.net/MacDev/VMTester/
--
Cameron Hayne
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden