• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Reducing memory consumption
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Re: Reducing memory consumption (From: Greg Guerin <email@hidden>)

  • Prev by Date: Re: Reducing memory consumption
  • Next by Date: Re: Re: Reducing memory consumption
  • Previous by thread: Re: Reducing memory consumption
  • Next by thread: Re: Reducing memory consumption
  • Index(es):
    • Date
    • Thread