What a shame. I think we should investigate alternatives, but high memory usage is better than crashing. :'(


My thinking on this is go back through all the mark and free functions and see which other ones theoretically could have the problem. Then having done that review, give it another try.


I should point out that we also have high load but we haven't experienced any segfaulting - so it may be configuration dependent, but not necessarily....

Probably so - I ran a test script to create 10k attributes to force the GC to happen, but couldn't reproduce it. But the stack trace is pretty clear on what's happening. Could be the Ruby version, or the OS, or the configuration.

I'll try and take a look at this when I get the chance to see if we can find a way to have our cake and eat it too.

Yeah, see above.  I think is probably doable.

Charlie

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
libxml-devel mailing list
libxml-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/libxml-devel

Reply via email to