update max memory number