tis 2008-04-22 klockan 19:35 +0800 skrev Adrian Chadd: > yeah, thats pretty invalid. :) I wonder if your method for returning > RSS is valid.
RSS is Resident Set Size, the number of in-core memory pages currently occupied by the process. Not the process size, or even amount of used memory for this process. Swapping reduces RSS as pages swapped out is no longer resident in memory. Virtual memory allocations/reservations don't show up in RSS as those just exists "in void". Shared objects gets accounted for all their in-core pages, even if not touched by this specific process or shared by a zillion other processes. Regards Henrik
