How do I begin debugging a python memory leak?

Matthew Wilson matt at tplus1.com
Wed Sep 16 20:10:39 EDT 2009


I have a web app based on TurboGears 1.0.  In the last few days, as
traffic and usage has picked up, I noticed that the app went from using
4% of my total memory all the way up to 50%.

I suspect I'm loading data from the database and somehow preventing
garbage collection.

Are there any tools that might help me out with this?






More information about the Python-list mailing list