Category Archives: Python

A Potential Memory Leak in Twisted

Recently I’m developing a server module with Python, the module will initiate thousands of connections to a Jabber server, and there’re many clients connect/disconnect to/from this module, so I’ve created a pool to hold all the connections.
To maintain such a pool, the module has to frequently construct object (when user connects) and deconstruct object (when [...]

Site hosted by