On 2002.06.18 08:04 Anthony DeRobertis wrote:
On Fri, 2002-06-14 at 15:31, Ian D. Stewart wrote:
> Can anybody else shed some light on the difference between SIZE and
RSS?
Size is how much memory has been allocated through brk(2). RSS is how
much is currently paged in.
So, a program can (and some do) brk a lot of memory, thus upping their
SIZE, but don't actually use it.
The RSS is how much actual RAM the program is taking.
Thanx Anthony.
According to 'man 2 brk',
brk sets the end of the data segment to the value speciĀ
fied by end_data_segment, when that value is reasonable,
the system does have enough memory and the process does
not exceed its max data size (see setrlimit(2)).
So, if I'm understanding this correctly, SIZE indicates how much memory
has been reserved for the application (and therefor not available to
other applications), while RSS is the amount of memory currently being
used by the application.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]