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

Jean-Paul Calderone exarkun at divmod.com
Tue Dec 16 10:22:40 EST 2008


On Tue, 16 Dec 2008 18:07:41 +0300, Abdul-Wahid Paterson <abdulwahid at gmail.com> wrote:
>Hi
>
>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 point of
>view. However, the Athena elements are eating up RAM and as I leave things
>running the Twisted process slowly consumes more and more RAM until the
>process dies.
>
>This only happens for the pages with Athena elements which suggests that
>something isn't been cleaned up when AJAX methods are being called.
>
>Can anyone suggest a possible cause? Or what I really need is a suggestion
>in how to track down the memory leak. Is there a way of doing memory
>profiling to find the culprit?
>

I've found http://guppy-pe.sourceforge.net/ to be useful for tracking down
memory issues.

Jean-Paul



More information about the Twisted-web mailing list