add terse option to disable memory logging