Add max memory - thanks horst.