Paul Pogonyshev added the comment: See if gc.set_threshold (0, 0, 0) helps. ---------- nosy: +_doublep __________________________________ Tracker <report at bugs.python.org> <http://bugs.python.org/issue1405> __________________________________