I forgot to mention that I am using a batch process which only uses the function one after another and not parallel. Perhaps the solution to my problem is to reduce the maximum Number of parallel Threads to 1. It seems that the programmers of fop set this number on 5. Perhaps somebody knows the position in the jar where i can reduce this number. (I am using Jai for the png)
Greetings, Johannes. ----- Original Message ----- From: "J.Pietschmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 10, 2004 10:00 PM Subject: Re: OutOfMemoryException > Johannes Franz wrote: > > i am buildung a pdf which includes png. The used java library is > > jimi-1.0.jar. If i include to much png-images i get the > > OutOfMemoryException. The answer of the FAQ is to increase the memory > > which is allocated for java. Could you explain me how i can do this? > > Check your friendly Java documentation. The online version is > actually linked from the hint in the FOP documentation: > http://xml.apache.org/fop/running.html#memory > http://java.sun.com/j2se/1.3/docs/tooldocs/solaris/java.html > > > Do > > you have any other solutions for the OutOfMemoryException? Do you thinks > > using JAI instead of JIMI could help? > > It depends. It is likely the problem is caused by the image cache. > Reducing the PNG resolution or switching to a format which compresses > better (low quality JPEG) might help. > > J.Pietschmann > > --------------------------------------------------------------------- > 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]