Re: [docbook-apps] Fop error: java.lang.OutOfMemoryError error when generating a PDF

From
Mark Peters <>
Date
2006-04-21T11:14:42+00:00
ID
Thread
Re: [docbook-apps] Fop error: java.lang.OutOfMemoryError error when generating a PDF
I appreciate your reply, George. I think I understand what you mean. Yes, I gave the java executable the maximum memory value. Because I didn't assign a minimum memory value, I think the java executable is free to consume less than the 2 GB max. Is that correct?

 

In my fop.bat file, I have the following information:

set CLASSPATH= <The paths to my fop.jar, batik.jar, xalan-version.jar files, etc.>

java -Xmx2048m

Again, thanks.

Mark

On 4/21/06, George Cristian Bina <> wrote:

 

Make sure you add the -Xmx option to Java and not to FOP, the option should be placed immediately
after the java executable and not after the FOP class file, in the later

case the parameter will go in the arguments array of the main method of
that class.