Roland:

I had already tried this command:

java -cp -Xmx128  
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

and it caused java to run out of memory before even a single page was 
processed.  (I ran it with my "task manager performance screen" displayed, so I 
know that there was more than 128 meg available, so I assumed I wasn't setting 
it properly.) 

Strangely enough, if I remove the "-Xmx128", FOP processes 170 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: How do you set the memory size for FOP


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.0.jar;lib\jimi-1.0.jar

-Xmx256m

>   org.apache.fop.apps.Fop c:\drb\output.fo c:\drb\output.pdf
> pause

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]

Reply via email to