Configure mem limits and cpu shares