Re: memory leak in reportlab xmllib.FastXMLParser

Robin Becker <[email protected]>
Newsgroups gmane.comp.python.reportlab.user
Message-ID <[email protected]>
I suspect we've had this problem for a long time in the sgmlop c extension 
module. Originally the paraparser.py module used to create just one parser for 
use by all the paragraph instances, but I think Andy recent changed that to 
create one for each instance in a vain attempt to stop threading issues.

I'll take a look at the sgmlop.c code to see if I can spot this; that code is 
very old and not our originally. It certainly doesn't cooperate with GC at all.


On 17/12/2013 16:14, Mirko Dziadzka wrote:
> Hi
>
> I’m not sure if this is the right list for a bug report, any pointers to another address are welcome.
>
> Problem description
> ===============
>
> The following program creates a memory leak.
>
> As a result, using reportlab.platypus.paraparser.ParaParser creates a memory leak too.
> As a result, wordaxe has a memory leak (my original problem)
>
........

-- 
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.