Skip to Content.
Sympa Menu

xom-interest - [XOM-interest] XOM and Large Files

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Mike Colbert <mbcolbert AT yahoo.com>
  • To: xom-interest AT lists.ibiblio.org
  • Subject: [XOM-interest] XOM and Large Files
  • Date: Wed, 26 Jul 2006 07:44:26 -0700 (PDT)

What's the most efficient way to process large (in this case up to 1Gb) files
with XOM?

Right now, I'm just using an InputStreamReader on a FileInputStream to read
the
file contents into a String and then using Builder.build (StringReader) to
create the XOM object, then traversing it sequentially.

It works, and it was easy, but I want to speed things up.

Platform is:

Linux flxdev01 2.6.9-22.0.2.ELsmp #1 SMP Thu Jan 5 17:11:56 EST 2006 x86_64
x86_64 x86_64 GNU/Linux

java version "1.5.0_04"

Thanks,
Mike






Archive powered by MHonArc 2.6.24.

Top of Page