On 7/26/07, Tim Perrett <[EMAIL PROTECTED]> wrote: > Hey all > > My apologies for posting this to the devel mailing list, but there > didnt seem to be any other type of list for libxml. > I have a schema that I want to read it using XML::Schema.new('path/to/ > file.xsd') however when I do that with this particular schema it eats > about 2GB of RAM and 2.5GB of virtual memory on my box before it > encounters a malloc exception. > > I was wondering if there was either a way to stream read the schema > (as it is large, 33,601 lines) or could someone explain to me whats > going on under the hood so I can perhaps do some kind of workaround? > The schema in question is http://www.cip4.org/Schema/ > JDFSchema_1_3_20070212.zip > > Any help would be most appreciated.
I'd like to know how much is libxml2 and how much is the ruby binding. have you/can you try if in C? T. _______________________________________________ libxml-devel mailing list libxml-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/libxml-devel