log memory stats