Patrick Dean Rusk wrote:
Not sure what it defaults to
if you don't specify a unit.
It is *bytes*. The specified amount is clipped to a certain minimum,
4MB or 8MB I think.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Hello:
FOP bombs at about 150 pages with a java.lang.outofmemory error. I
gather that the solution is to adjust the size of the java vm using, say,
-Xmx256m. Unfortunately, I know absolutely nothing about using java, so I
don't know where to do this.
I'm using windows NT and
Jon,
Amywhere before the FOP call should work:
Can I increase the mem-size within this sequence of
commands? And if so, how would it look?
cd c:\fop
java -cp
build\fop.jar;lib\batik.jar;lib\xalan-2.0.0.jar;lib\xerces-1.2
.3.jar;li
of memory. Does this mean that the default setting is than 128?
(I thought the java default was 64m).
Jon
-Original Message-
From: Roland Neilands [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 19, 2003 1:06 PM
To: [EMAIL PROTECTED]
Subject: RE: How do you set the memory size
Jon,
java -cp -Xmx128
Try switching these two (-cp expects the path below as an argument.
build\fop.jar;lib\batik.jar;lib\xalan-2.0.0.jar;lib\xerces-1.2
.3.jar;li
b\avalon-framework-4.0.jar;lib\logkit-1.0.jar;lib\jimi-1.0.jar
org.apache.fop.apps.Fop c:\drb\output.fo
]
Sent: Wednesday, February 19, 2003 2:26 PM
To: [EMAIL PROTECTED]
Subject: RE: How do you set the memory size for FOP
Jon,
java -cp -Xmx128
Try switching these two (-cp expects the path below as an argument.
build\fop.jar;lib\batik.jar;lib\xalan-2.0.0.jar;lib\xerces-1.2
.3.jar;li
b
The m at the end means megabytes, of course. Not sure what
it defaults to
if you don't specify a unit.
Must be kb. (worked on a small doc.)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
: RE: How do you set the memory size for FOP
Roland:
Actually, java -Xmx128 -cp etc... was the order of the arguments I
originally used -- and it was with this that FOP gave the out of memory
error even before it started generating pages.
Cheers
-Original Message-
From: Roland
: RE: How do you set the memory size for FOP
The missing m was the culprit. I put it in and FOP churned
out a 450 page document.
Thank you FOPlisters for all the help!
Jon
-Original Message-
From: Patrick Dean Rusk [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 19