The api uses jvm_mem, task_mem instead of jvm_memory and task_memory