use pss when calculating master and worker memory