Modifying the max memory used by workers.