carry raw memory stats into types.Memory