Python's GC: Default (700, 10, 10) Thresholds

Python's generational garbage collector defaults to a (700, 10, 10) threshold for generations 0, 1, and 2, respectively, which dictates how frequently each generation is checked for unreferenced objects.

Sources

Open the full topic