add memory stats to internals