New submission from Kaifeng Zhu <cafe...@gmail.com>:

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.

----------
components: XML
files: test.py
messages: 133797
nosy: Kaifeng.Zhu
priority: normal
severity: normal
status: open
title: ElementTree memory leak
type: resource usage
versions: Python 2.5, Python 3.1
Added file: http://bugs.python.org/file21669/test.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11849>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to