[Twisted-Python] Reducing memory footprint of twisted app?

jarrod roberson jarrod at vertigrated.com
Thu Aug 17 21:37:39 EDT 2006


one of the things we did, and saw an approximately 30% REDUCTION in
memory foot print was add ing __slots__ definations to all he objects
we were creating in graphs.

This isn't twisted specific, so it should apply to any python application.

Granted we have hundreds of thousands of objects in the graph. But it
did make a noticiable change in the foot print.




More information about the Twisted-Python mailing list