Use /proc/<pid>/smaps to calculate mem on linux to allow usage of PSS.