Upper memory limit

Kragen Sitaker kragen at pobox.com
Thu May 16 17:53:08 EDT 2002


bokr at oz.net (Bengt Richter) writes:
> Would you try doing whatever_dict.clear() before deleting it, and see if
> that makes any difference?

I did try that at the time, as well as going through and deleting
things by hand, as well as checking the refcounts on the values in the
dict.  It didn't help.

> Here is some discussion on where it did make a difference:
> 
> http://mail.python.org/pipermail/python-list/2002-February/088476.html

That problem was due to circular references.  Perhaps running the
garbage collector manually in that case would have helped, too.




More information about the Python-list mailing list