[Python-Dev] ast status, memory leaks, etc

"Martin v. Löwis" martin at v.loewis.de
Mon Nov 21 07:39:01 CET 2005

Neal Norwitz wrote:
> I still think the total references at the end of a test run are high,
> 342291.  I don't have anything to base this number on.  Some strategic
> interning should help this number go down a bit.  I suppose I
> shouldn't worry much since these references don't seem to become
> actual memory leaks.

You could try to classify the objects remaining, counting them
by type. Perhaps selectively clearing out sys.modules to what
it is after startup might also give insights.


More information about the Python-Dev mailing list