[lxml-dev] memory leak in el.get() ?

Scott Haeger bashautomation at gmail.com
Sat Feb 4 17:09:07 CET 2006


I am getting a memory leak using the get attribute method.  The following
will illustrate the problem:

el = etree.Element("element")
el.set('a', 'first')

while True:
    x = el.get('a')

Memory usage as displayed in top continues will continue to grow.

I am using the following:
lxml 0.8
libxml2 2.6.23
Fedora Core 3

Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://codespeak.net/pipermail/lxml-dev/attachments/20060204/f5b3e139/attachment.htm


More information about the lxml-dev mailing list