[oXygen-user] Out of memory problem

Mark Wilson
Thu Mar 5 11:12:49 CST 2009


This is likely not the right list for this question, but please help if you can. 

Using Oxygen's scenario mechanism, I am able to run the built-in FOP and produce my PDF file with no problems. However, when I try to do the same thing from a BAT using my stand-alone FOP 0.95, I get an "out of java heap space memory". I Googled and found lots of information for people who know java or Linux (I know neither). I know I have to change the fop.bat file but do not understand exactly how to do that. Concerning java, the fop.bat has the lines:

set JAVAOPTS=-Denv.windir=%WINDIR%

if "%JAVA_HOME%" == "" goto noJavaHome
if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome
if "%JAVACMD%" == "" set JAVACMD=%JAVA_HOME%\bin\java
goto runFop

:noJavaHome
if "%JAVACMD%" == "" set JAVACMD=java

:runFop
rem ECHO "%JAVACMD%"
"%JAVACMD%" %JAVAOPTS% %LOGCHOICE% %LOGLEVEL% -cp "%LOCALCLASSPATH%" org.apache.fop.cli.Main %FOP_CMD_LINE_ARGS%

What do I add or change?

 I have 4 gig of memory on a Vista machine. What do I add or change so that my stand-alone FOP will have the same heap size as the Oxygen built-in FOP?

Thanks for any consideration you can give me,
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20090305/bc60feae/attachment.html 


More information about the oXygen-user mailing list