[Twisted-Python] Twisted client memory leak

Phil Mayers p.mayers at imperial.ac.uk
Tue Jan 22 09:03:00 EST 2013


On 22/01/13 13:54, Diego Woitasen wrote:

> Ok, that's work. Thanks.
>
> My question is now, why is this done automatically for EchoProtocol()
> and not for EchoFactory()? Looks like the references are dropped why
> Python is taking too much time to frees the memory.
>
> An explanation around this is welcome :)

This kind of thing has been discussed on the list before, I think. If I 
recall, it's due to the behaviour of the Python GC under load.

It would help if you could say which version of Python and Twisted 
you're using.



More information about the Twisted-Python mailing list