Try -Xms128m

The "m" at the end means megabytes, of course.  Not sure what it defaults to
if you don't specify a unit.

Pat


-----Original Message-----
From: Jon Steeves [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 19, 2003 5:33 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.

Cheers

-----Original Message-----
From: 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\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\output.pdf

Cheers,
Roland

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to