OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: 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.


On 4/21/06, George Cristian Bina <george@oxygenxml.com> 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.

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]