memory leak troubleshooting techniques
Martin v. Löwis
martin at v.loewis.de
Tue Jul 29 06:37:15 CEST 2003
Adam Deutsch <adeutsch at kaval.com> writes:
> Is there any systematic method of determining how Python is using its
> allocated memory?
In the debug version, you can get a list of all objects through
sys.getobjects. In the non-debug version, you can get a list of all
container objects through gc.get_objects. Check whether these lists
are growing in size.
More information about the Python-list