The new MemLimit parameter allows you to terminate optimization when the memory used by the optimization exceeds the specified value.