config totalmem usage