[Twisted-web] Finding memory leaks in Nevow/Twisted
Phil Christensen
phil at bubblehouse.org
Tue Dec 16 10:23:16 EST 2008
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 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.
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 like 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 here can probably be of more help.
-phil
More information about the Twisted-web
mailing list