[Twisted-Python] Twisted client memory leak

Tristan Seligmann mithrandi at mithrandi.net
Tue Jan 22 10:15:27 EST 2013


On Tue, Jan 22, 2013 at 3:06 PM, Diego Woitasen <diego at woitasen.com.ar> wrote:
> I reproduce the problem with a modification of Echo client example
> from Twisted documentation:

Adding __del__ methods causes the object to become uncollectable if it
forms part of a reference cycle. Thus it is almost always a bad idea
to add __del__ methods when attempting to debug a space leak, as the
most likely outcome is that you introduce a _new_, _different_ leak to
the one you are trying to debug.
--
mithrandi, i Ainil en-Balandor, a faer Ambar



More information about the Twisted-Python mailing list