https://issues.apache.org/bugzilla/show_bug.cgi?id=47098





--- Comment #2 from Johan <joh...@aditus.nu>  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 "mm.fo" "-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  "mm.fo" "-pdf" "mm.pdf"

Then things start working the way the should.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to