On Jan 7, 4:06 pm, Charlie Savage <c...@savagexi.com> wrote: > Hi Joseph, > > >> I'll see if I can put something together, we know it's in the > >> to_solr_doc from acts_as_solr somewhere. > > > Looks like the problem is in to_s on Node > > > 10000.times do > > node = XML::Node.new 'node' > > node.to_s > > end > > Nice work - that's a great test case. > > So if I I run this code: > > 10000000.times do > node = XML::Node.new 'node' > #node.to_s > end > > I see no issues. > > Adding the .to_s does seem to cause a problem. Are you actually doing > so many to_s calls in your code? > > Anyway, will have to look and see if there is anything obvious in the > part of the bindings. > > Charlie > > smime.p7s > 4KViewDownload
We had a batch job where we had to update ~300,000 records which caused a solr_save for each one which does the to_s. We don't have a lot of extra memory on our hosting provider so it showed up pretty quick. Thanks for being so responsive. _______________________________________________ libxml-devel mailing list libxml-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/libxml-devel