Octopus Energy interview question

What is the difference in memory management of a Python Dataclass and NamedTuple.