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
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
> b\avalon-framework-4.0.jar;lib\logkit-1
pages before
running out 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: Ho
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 c:\drb\ou
CTED]
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
rom: Roland Neilands [mailto:[EMAIL PROTECTED]
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\x
Sorry, I meant:
-Xmx128m
(x instead of s)
Pat
-Original Message-
From: Patrick Dean Rusk [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 19, 2003 5:53 PM
To: [EMAIL PROTECTED]
Subject: RE: How do you set the memory size for FOP
Try -Xms128m
The "m" at the end means
> 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: [EM
Try turning on -verbose:gc to see
where your memory is at during processing. Hope this helps.
-Matt
> -Original Message-
> From: Patrick Dean Rusk [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 19, 2003 2:53 PM
> To: [EMAIL PROTECTED]
> Subject: RE: How do y
> > 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.)
Sounds like wishful thinking by the creators of Java, who still tout it
as
being "compact". ;-)
Pat
P.S. No intentional flame w
PM
To: '[EMAIL PROTECTED]'
Subject: 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.
Ch
;[EMAIL PROTECTED]'
> Subject: 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 Messag
bject: RE: How do you set the memory size for FOP
450 pages is pretty good. Just curious did you use multiple page sequences? no
large tables? Also do you see how much memory it did use?
thanks
> -Original Message-
> From: Jon Steeves [mailto:[EMAIL PROTECTED]
> Sent: Wednesda
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]
F
14 matches
Mail list logo