Is there any way to lower the amount of memory Xerces uses to build the DOM
tree?  A setting, feature, property?  If so, what impact will it have on the
DOM?

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