Does anyone know the ratio of xml file to DOM Object?  Does Xerces 2 handle
memory better than Xerces 1?

Thanks,

Rob

-----Original Message-----
From: Jan Dvorak [mailto:[EMAIL PROTECTED]
Sent: Friday, June 21, 2002 12:19 PM
To: [EMAIL PROTECTED]; Rob Outar
Subject: Re: OutOfMemoryError using Xerces 1.4.3


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]


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

Reply via email to