Re: memory leak in reportlab xmllib.FastXMLParser

Robin Becker <[email protected]>
Newsgroups gmane.comp.python.reportlab.user
Message-ID <[email protected]>
I find this fixes the issue

> diff -r d7705185366c src/reportlab/lib/xmllib.py
> --- a/src/reportlab/lib/xmllib.py       Tue Dec 17 13:58:46 2013 +0000
> +++ b/src/reportlab/lib/xmllib.py       Tue Dec 17 17:52:50 2013 +0000
> @@ -524,6 +524,8 @@
>          try:
>              self.parser.close()
>          finally:
> +            self.feed = None
> +            del self.parser
>              self.parser = None
>
>      # Interface -- translate references

I will check this in the trunk code tomorrow


On 17/12/2013 17:35, Mirko Dziadzka wrote:
>
...........

-- 
Robin Becker
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.