restore the memory max value