set max event number in DmpCore