This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kaifeng
Recipients kaifeng
Date 2011-04-15.09:08:36
SpamBayes Score 2.3985662e-05
Marked as misclassified No
Message-id <>
I'm using xml.etree.ElementTree to parse large XML file, while the memory keep increasing consistently.

You can run attached test script to reproduce it.  From 'top' in Linux or 'Task Manager' in Windows, the memory usage of python is not decreased as expected when 'Done' is printed.

Tested with Python 2.5/3.1 in Windows 7, and Python 2.5 in CentOS 5.3.
Date User Action Args
2011-04-15 09:08:38kaifengsetrecipients: + kaifeng
2011-04-15 09:08:38kaifengsetmessageid: <>
2011-04-15 09:08:38kaifenglinkissue11849 messages
2011-04-15 09:08:37kaifengcreate