add memory stats to blockchain logging