Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] OutOfMemoryError

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Harold <elharo AT metalab.unc.edu>
  • To: Gsell Martin <martin.gsell AT innosystec.de>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] OutOfMemoryError
  • Date: Fri, 20 Jan 2006 07:35:26 -0500

Gsell Martin wrote:

If the content is greater than about 50 MB, this fails due to an
OutOfMemoryError. The reason is that 'makeText(String data)' of the
underlying NodeFactory provides the content as String, already. This is
very memory consuming for big contents. To avoid it, I intended to
handle the problem on SAX level and developed a quick and (sofar) dirty
solution by overwriting the XOMHandler. The code to use it is this:

What does your own XOM handler do differently? Can we see the code?


--
Elliotte Rusty Harold elharo AT metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim




Archive powered by MHonArc 2.6.24.

Top of Page