Changes for computing cluster size based on memory required by jobs as well as slots.