On Tue, Jan 22, 2013 at 2:37 PM, Phil Mayers <p.may...@imperial.ac.uk> wrote:
> Because having just tested it, I don't see any problem - his example > code has stable memory usage for both client/server processes, and with > the client making 1, 100 or 1000 connections/sec, and the debug shows > protocol and factory instances being freed as I would expect i.e. in a > timely fashion, not just at process close. > > Tested on both: > > Python 2.7.3 / Twisted 11.1.0 / Linux 64-bit > Python 2.6.8 / Twisted 12.2.0 / Linux 64-bit I tested the original example, with the change of doing a loop each .1 seconds instead 1 second, and it shown a memory growth, with and without the __del__ in the Factory. It was using Twisted 12.2.0 under Python 2.7.3, on a Linux 32b. I measured the memory usage with top. Regards, -- . Facundo Blog: http://www.taniquetil.com.ar/plog/ PyAr: http://www.python.org/ar/ Twitter: @facundobatista _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python