This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] java.lang.OutOfMemoryError with fop
- From: "Don Adams" <dga at sgi dot com>
- To: <docbook-apps at lists dot oasis-open dot org>
- Date: Mon, 9 Feb 2004 14:57:51 -0600
- Subject: [docbook-apps] java.lang.OutOfMemoryError with fop
This post is to document a solution to a problem I was
having with fop-0.20.5 on a Windows 2000 system.
When processing large documents, I would receive an OutOfMemoryError
error message. To fix this, I added "-Xmx128m " to
the last line in the fop.bat file. Like this:
java -Xmx128m -cp "%LOCALCLASSPATH%" org.apache.fop.apps.Fop %1 %2 %3 %4 %5
%6 %7 %8
Refer to this page for more information on the -Xmx option:
http://java.sun.com/j2se/1.3/docs/tooldocs/solaris/java.html
--
Don Adams
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.