add memory stats