[Twisted-web] Finding memory leaks in Nevow/Twisted

Abdul-Wahid Paterson abdulwahid at gmail.com
Tue Dec 16 11:02:00 EST 2008


I am using Python 2.5.

I will try to use guppy as suggested in another post to so if it will help.
Otherwise yes, I will try to reduce it to the smallest possible code to
demonstrate the leak. At the moment the code is a bit complex so is hard to
track down.

Thanks for the help.


On Tue, Dec 16, 2008 at 6:23 PM, Phil Christensen <phil at bubblehouse.org>wro=

> On Dec 16, 2008, at 10:07 AM, Abdul-Wahid Paterson wrote:
>> I have managed to write my nevow/twisted site. I am using a lot of Athena
>> elements on my site and they are all working well from a functional poin=
t of
>> view. However, the Athena elements are eating up RAM and as I leave thin=
>> running the Twisted process slowly consumes more and more RAM until the
>> process dies.
> The first thing would be to check that you're running at least Python 2.5.
> Previous versions have garbage collection problems on long-running apps l=
> a Twisted web app.
> Athena-based apps should not inherently leak memory, but adding leaks of
> your own creation isn't too hard ;-)
> If you are running 2.5 or later, you should try to reduce your app to the
> smallest possible test version that demonstrates the leak, and someone he=
> can probably be of more help.
> -phil
> _______________________________________________
> Twisted-web mailing list
> Twisted-web at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-web/attachments/20081216/32=

More information about the Twisted-web mailing list