On 17 Sep., 02:10, Matthew Wilson <m...@tplus1.com> wrote: > 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?
If have one of the following plattforms X86/Linux, AMD64/Linux, PPC32/Linux, PPC64/Linux and X86/Darwin (Mac OS X), have a look at valgrind. http://valgrind.org/ I used of often for searching the memory leaks in c++. It's a great tool to analyse your memory behaviour. Greetings -- http://mail.python.org/mailman/listinfo/python-list