this.numFailedToAddTask.incrementAndGet();
return ;
}
MemoryControlGroup taskcgp = containercgp.createSubGroup(taskname);
taskcgp.enableMoveChargeAtImmigrate();
if (isTaskLimitOn) {
taskcgp.setMemoryUsageLimit(memoryLimit);
LOG.info("Task " + taskname + " is added to control group with memory = " +
memoryLimit );
} else {