memory leak troubleshooting techniques
Martin v. Löwis
martin at v.loewis.de
Tue Jul 29 00:37:15 EDT 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.
Regards,
Martin
More information about the Python-list
mailing list