Hello Rob,

A DOM tree for a 25 meg XML file may take hundreds of megs in memory. 
You can increase the JVM memory limit with the -Xmx option. 

Jan

Rob Outar wrote:
> Hello all,
>
>       I am parsing a 25 meg XML file using Xerces 1.4.3 DOMParser and I keep
> getting an OutOfMemory Exception.  I know this process will take some time,
> but I did not expect to be out of memory.  Is this normal for this size
> file?  Can Xerces 2 or some other parser better handle memory?
>
> Let me know,
>
> Rob
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to