Suppose I have code that maintains a parent/children structure. In such a structure I get circular references, where a child points to a parent and a parent points to a chil
Experimentally: you're fine:
import itertools for i in itertools.count(): a = {} b = {"a":a} a["b"] = b
It consistently stays at using 3.6 MB of RAM.