I quickly skimmed over OP's previous posts and I don't think they mention it. According to [0], CPython's GC is ran every X instructions (not sure how up to date the source is).
From this, I guess CPython opted for simplicity instead of implementing something like a memory-usage monitor.
From this, I guess CPython opted for simplicity instead of implementing something like a memory-usage monitor.
[0] https://realpython.com/cpython-source-code-guide/#garbage-co...