logger: reduce mem