[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Fop error: java.lang.OutOfMemoryError error whengenerating a PDF
Hi Mark, Yes, Java can consume less memory but in that case it should not give an OutOfMemoryError and in your case you said that you observed only 70MB taken by Java while you gave it 2GB. Best Regards, George --------------------------------------------------------------------- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com Mark Peters wrote: > 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* <george@oxygenxml.com > <mailto: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]