RE:RE: "[ERROR]: >" resulting in "Exception in thread "main" java.lang.OutOfMemoryError <<no stack trace avalable>>"

For the conversion from .xml to .fo I use the saxon-engine(6.2.2) and for the conversion from .fo to .pdf I use the fop-engine (0.20.2).

these are the commandlines :

java -classpath C:\Java\Saxon\saxon.jar com.icl.saxon.StyleSheet -o ug.fo ug.xml ug.xsl


fop -fo ug.fo -pdf ug.pdf

for the first conversion I can use -Xms???m  -Xmx???m :

java -Xms1m  -Xmx220m -classpath C:\Java\Saxon\saxon.jar com.icl.saxon.StyleSheet -o ug.fo 

but I don't know if fop uses the same heap-sizes , and if not how do 
I implement -Xms???m  -Xmx???m in fop?

greetz



-----Original Message-----
From: G. Ken Holman [mailto:gkholman@CraneSoftwrights.com]
Sent: vrijdag 11 juli 2003 13:59
To: www-xsl-fo@w3.org
Subject: Re: "[ERROR]: >" resulting in "Exception in thread "main"
java.lang.OutOfMemoryError <<no stack trace avalable>>"



At 2003-07-11 11:58 +0200, Kenny  Vandenbroucke wrote:
>After about 100 pages I get the following error after which the program 
>stops :
>
>Exception in thread "main" java.lang.OutOfMemoryError
>                 <<no stack available>>
>
>Does anyone know how to solve this problem?

You don't say which program you are using, but when I run the Java-based 
XEP processor I increase both the Java stack and heap spaces to accommodate 
my lengthy XSL training materials using:

    -Xms???m  -Xmx???m

where you replace "???" with the number of megabytes you wish to allocate.

I hope this helps.

.................... Ken


--
Upcoming hands-on courses: in-house corporate training available;
North America public:  XSL-FO Aug 4,2003; XSLT/XPath Aug 12, 2003

G. Ken Holman                mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.         http://www.CraneSoftwrights.com/f/
Box 266, Kars, Ontario CANADA K0A-2E0   +1(613)489-0999 (F:-0995)
ISBN 0-13-065196-6                      Definitive XSLT and XPath
ISBN 0-13-140374-5                              Definitive XSL-FO
ISBN 1-894049-08-X  Practical Transformation Using XSLT and XPath
ISBN 1-894049-11-X              Practical Formatting Using XSL-FO
Member of the XML Guild of Practitioners:    http://XMLGuild.info
Male Breast Cancer Awareness http://www.CraneSoftwrights.com/f/bc

Received on Wednesday, 16 July 2003 05:11:02 UTC