xsl-list
[Top] [All Lists]

Re: Out OF Memory Exception for Large XML data

2006-01-30 03:35:46
On 1/30/06, Pankaj Bishnoi <pankaj(_dot_)bishnoi(_at_)adeptia(_dot_)com> 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>