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]



Reply via email to