--- Comment #2 from Johan <>  2009-04-26 15:09:11 PST ---
Looking some more at this and running fop with --execdebug reveals that the
final exec that sets up the classpath and runs Java is something like

exec "/usr/lib/jvm/java/bin/java" -classpath "..." org.apache.fop.cli.Main
-Xmx512m "" "-pdf" "mm.pdf"

where I have omitted the long classpath. It seems like the problem is caused by
having the Java maximum heap argument (-Xmx the wrong place - as an argument to
the fop client. If the exec call instead would be

exec "/usr/lib/jvm/java/bin/java" -Xmx512m -classpath "..."
org.apache.fop.cli.Main  "" "-pdf" "mm.pdf"

Then things start working the way the should.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to