Add memory stats.