FYI - if you are trying to process a huge document, it may possible FOP could 
be running out of memory before it even prints a page., while it is in the 
'calculating' phase. During this phase, I've seen our heap approach 300-400M on 
a ~200 page document. Are you using hotspot? 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 you set the memory size for FOP
> 
> 
> 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]
> 
> 
> 


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

Reply via email to