Desktop Environments Resource Usage Comparison
Isn&#x27;t summing RSS going to end up with the wrong numbers?<p>My understanding is that RSS is memory allocated (heap + stack) + executable pages inclusive of shared libraries.<p>i.e, if 10 processes load libfoobar which is 10MB of code, each processes RSS value will be 10MB higher. So if you sum RSS you see 10 x 10MB or 100MB extra usage. But the pages for that library will be shared across processes, with the result that &quot;real ram usage&quot; only goes up by 10MB.<p>Please correct me if I&#x27;m wrong. This is based on my understanding of Linux too. FreeBSD might be different.