Work around mem_per_proc <= 0