Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs
[issue11849] ElementTree memory leak
 

Index | Next | Previous | View Flat


report at bugs

Apr 15, 2011, 2:08 AM


Views: 594
Permalink
[issue11849] ElementTree memory leak

New submission from Kaifeng Zhu <cafeeee [at] gmail>:

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 <report [at] bugs>
<http://bugs.python.org/issue11849>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Subject User Time
[issue11849] ElementTree memory leak report at bugs Apr 15, 2011, 2:08 AM
    [issue11849] ElementTree memory leak report at bugs Apr 15, 2011, 2:33 AM
    [issue11849] ElementTree memory leak report at bugs Apr 15, 2011, 2:52 AM
    [issue11849] ElementTree memory leak report at bugs Apr 15, 2011, 4:39 AM
    [issue11849] ElementTree memory leak report at bugs Apr 15, 2011, 4:41 AM
    [issue11849] ElementTree memory leak report at bugs Apr 15, 2011, 5:32 AM
    [issue11849] ElementTree memory leak report at bugs Apr 17, 2011, 7:39 AM
    [issue11849] ElementTree memory leak report at bugs Apr 17, 2011, 7:41 AM
    [issue11849] ElementTree memory leak report at bugs Apr 17, 2011, 3:27 PM
    [issue11849] ElementTree memory leak report at bugs Apr 17, 2011, 5:37 PM
    [issue11849] ElementTree memory leak report at bugs Apr 18, 2011, 3:01 AM
    [issue11849] ElementTree memory leak report at bugs Apr 18, 2011, 9:41 AM
    [issue11849] ElementTree memory leak report at bugs Apr 18, 2011, 7:41 PM
    [issue11849] ElementTree memory leak report at bugs Apr 19, 2011, 10:26 AM
    [issue11849] ElementTree memory leak report at bugs Apr 24, 2011, 3:58 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.