First, configure cgroups as described in the manual in section "Cgroup-Based Process Tracking", in section 3.12: {link: http://research.cs.wisc.edu/htcondor/manual/current/3_12Setting_Up.html Cgroup-Based Process Tracking} -Second, set the configuration parameter CGROUP_MEMORY_LIMIT_POLICY to either soft or hard. +Second, set the configuration parameter CGROUP_MEMORY_LIMIT_POLICY to hard. Third, set the Request_Memory attribute in the job to the expected maximum physical memory needed by all the processes in the job.