memory leak troubleshooting techniques
Adam Deutsch
adeutsch at kaval.com
Mon Jul 28 17:01:55 EDT 2003
I would like to ask some advice about tracking down memory leaks in Python
code.
We have a python application running on Python 2.0.1 in an embedded Linux
environment (kernel version 2.4.7). We have recently detected a memory leak
that we can see from "ps aux" is attributable to the Python processes.
Running Sam Rushing's (http://www.nightmare.com/medusa/memory-leaks.html)
get_refcounts() function does not yield any smoking guns: the reference
counts for all classes remain stable even as memory use climbs.
Is there any systematic method of determining how Python is using its
allocated memory?
Thanks.
More information about the Python-list
mailing list