in reply to Re^16: time and mem usage of pgmin thread time and mem usage of pgm
The memory figure returned by mem(); is the Physical Memory Working Set which is (roughly) the equivalent of the RSS on modern *nix.