Re: [xsl] Out OF Memory Exception for Large XML data

Subject: Re: [xsl] Out OF Memory Exception for Large XML data
From: andrew welch <andrew.j.welch@xxxxxxxxx>
Date: Mon, 30 Jan 2006 10:35:46 +0000
On 1/30/06, Pankaj Bishnoi <pankaj.bishnoi@xxxxxxxxxxx> wrote:
> Hi All
>          I am having a transformation in which the source file size is
> large. The source xml size is around 200 MB. So my transformer throws Out
of
> Memory exception after some time. I am using Xalan. This issue also comes
> when i use Saxon transformer. Is there a way by which i can set some
> transformer parameter to overcome this problem.

You can set the JVM parameter -Xmx to increase the maximum amount of
memory available to it, eg:

java -Xmx512m

would set the max to be 512mb.

cheers
andrew

Current Thread