[libxml-devel] Memory leaks

2007-04-18 Thread Chris McGrath
Hi there, Just been looking into using libxml-ruby to generate some largish feeds for our clients (5000 records in a feed). It's obviously faster than XmlBuilder, but I'm running into the same problem as reported in [1]. Has there been any progress on this? Is there anything I can do to s

Re: [libxml-devel] Memory leaks

2007-04-18 Thread stefan lauer
Hi, I workaround it by read the file in with the native Rubyclass File. I do it on this way: file = File.new(@xmlfile) parser.io = file @doc = parser.parse This helps for me. > Hi there, > > Just been looking into using libxml-ruby to generate some largish > feeds for our

Re: [libxml-devel] Memory leaks

2007-04-18 Thread Chris McGrath
On 18 Apr 2007, at 15:13, stefan lauer wrote: > Hi, > > I workaround it by read the file in with the native Rubyclass File. > > I do it on this way: > > file = File.new(@xmlfile) > parser.io = file > @doc = parser.parse > > This helps for me. I'm using it to create XML though,