add info how to set max memory