We use the -Xmx1024m option, which allows us to generate a PDF of 1000
pages, with table of contents and bookmarks, page of <numpages>, and a
lot of other internal links. It takes like 20min on a Linux server to
generate this PDF with FOP 0.92 (we generate an internal xml file, which
is converted with a self-written xsl to fo, so this conversion is
included in the time). Without the option, we've got the same memory
problem. With FOP 0.20.5, we never succeeded to generate this kind of
PDF, with or without the -Xmx option.

Bert


-----Oorspronkelijk bericht-----
Van: Pascal Sancho [mailto:[EMAIL PROTECTED] 
Verzonden: woensdag 26 juli 2006 9:03
Aan: fop-users@xmlgraphics.apache.org; [EMAIL PROTECTED]
Onderwerp: RE: out of memory error

> -----Original Message-----
> From: Rick Roen [mailto:[EMAIL PROTECTED] 
> 
> Update...
> 
> I was googling in the wrong place.  When I looked in Java I 
> found the switch "-XX:+AggessiveHeap" which fixed the problem.
> 
> Is this the best switch to use, or is there something better?

Hi Rick,
You probably omitted the 'm' from '-xmx' option.
-xmx is the usual way to increase max memory for JVM.
You can use -xms in conjunction to define initial memory.

See [1] the whole java options.

Pascal

[1]
http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/java.html#options

---------------------------------------------------------------------
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