[Twisted-web] Finding memory leaks in Nevow/Twisted
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
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=
>> 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.
> Twisted-web mailing list
> Twisted-web at twistedmatrix.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Twisted-web