Subject: Re: weird memory size reports
To: None <michaelv@iastate.edu>
From: Paul Kranenburg <pk@cs.few.eur.nl>
List: current-users
Date: 01/26/1994 09:52:49
> 
>  How come some processes have more
> resident memory than their total memory size?  Is this because top is
> able to count size as their size without shared libs, and res is their
> size including the shared libs, or what's the deal? 

This is because the kernel doesn't include mmap()ed files in the process'
vmmap's text and data size counters, whereas the total memory size counts
the number of bytes in all resident pages that were allocated on behalf of
this process.

-pk

------------------------------------------------------------------------------