A few ideas: - give more memory to the VM - Try JRE 1.5 - try the server VM (-server) - Optimize your XSL-FO - Make sure you make use of property inheritance - Avoid unnecessary properties and nested elements - Avoid tables - Avoid page-number-citations - use JPEG images instead of SVG - use Type 1 fonts instead of TrueType fonts - Buy a stronger single-processor machine. FOP cannot make use of the second processor if you're only rendering one document at a time.
Good luck! On 13.09.2006 23:48:48 Jonathan B. York wrote: > Hi, > > I'm using FOP 0.92beta with Sun's J2RE 1.4.2_12, running on Red Hat > Enterprise Linux 4. I'm processing FO documents that are about 4-7 MB > in size and it takes about 60 - 80 seconds to parse into PDF. > > This is how I'm calling FOP: > > export FOP_OPTS="-Xmx128m"; export JAVA_HOME="/usr/local/j2re1.4.2_12"; > /usr/local/fop-0.92beta/fop doc.fo -pdf doc.pdf &> errors > > The machine is dual Xeon 2.66GHz with 2GB RAM. > > > Does anyone have any suggestions for ways I could improve performance? > I'm not really familiar with Java-based applications. Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
