try http://piccolo.sourceforge.net/
is small and fast.


-----Original Message-----
From: Michael Barbarelli <[email protected]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: Parsing large xml files
Date: Thu, 21 May 2009 15:52:00 +0100

Why not use an XML pull parser?  I recommend against using an in-memory
parser.

On Thu, May 21, 2009 at 3:42 PM, Sudarsan, Sithu D. <
[email protected]> wrote:

>
> Hi,
>
> While trying to parse xml documents of about 50MB size, we run into
> OutOfMemoryError due to java heap space. Increasing JVM to use close 2GB
> (that is the max), does not help. Is there any API that could be used to
> handle such large single xml files?
>
> If Lucene is not the right place, please let me know alternate places to
> look for,
>
> Thanks in advance,
> Sithu D Sudarsan
> [email protected]
> [email protected]
>
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to