xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Stote <RSt...@whitehilltech.com>
Subject RE: java.lang.OutOfMemoryError in FOP 0.20.5rc2 and FOP 0.20.5rc 3
Date Fri, 06 Jun 2003 15:31:18 GMT
J-F:
	I removed some of the cell attributes from your fo:
number-of-rows-spanned - there was 100592 instances of it in you fo, 
number-of-columns-spanned there was 100504 instances of it by removing these
2 attributes I was able to reduce my heap usage by 30M

and the output look exactly the same

Rob

-----Original Message-----
From: Mike Ferrando [mailto:mikeferrando@yahoo.com] 
Sent: Friday, June 06, 2003 12:13 PM
To: fop-user@xml.apache.org
Subject: Re: java.lang.OutOfMemoryError in FOP 0.20.5rc2 and FOP 0.20.5rc3

Selber,
I just rendered (this week) a 800 page document (30 pages of front
matter, 700 pages of container list, and 45 pages of appendices). I
looked at your -X syntax and it was different than the one I was
given by the Java people here. (The 'o' error was already pointed out
by a previous post.) They recommended not changing the first -Xms32m
value. The second value should reflect the RAM of your system. (I was
able to do about 500 pages with 260,000 KB RAM, but I had to move up
to another work station with 520, 000 KB RAM to do the 800 pages.) My
documents do not have images. (My FOP.bat below)

120 pages is nothing, unless you have some big images.

Mike F.

@ECHO OFF

set LIBDIR=lib
set LOCALCLASSPATH=build/fop.jar
set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xml-apis.jar
set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xercesImpl-2.2.1.jar
set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xalan-2.4.1.jar
set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\batik.jar
set
LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\avalon-framework-cvs-20020806.jar
set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jimi-1.0.jar
set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jai_core.jar
set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jai_codec.jar
java -Xms32m -Xmx260m -cp %LOCALCLASSPATH% org.apache.fop.apps.Fop %1
%2 %3 %4 %5 %6 %7 %8


__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org

Mime
View raw message