add memory stats log