Remove warning for setting maxmem.