Hi, When parsing a big xml-document using DOM I get a OutOfMemoryError. I'm using apache.xerces as parser. I read that a "deferred DOM" might solve the problem. What is the syntax in xerces to use a "deferred DOM" when I parse ? ..thanks in advance Per
Sorry, I can't answer your questions.. but I might have a work-around to your problem. I believe that DOM parser will try to put everything inside the memory when it is parsing an XML file, but SAX parser will parse the file while it is reading the XML file. So, you might want to look at SAX parser.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com