adjusted max memory