You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2004/09/23 14:31:22 UTC
DO NOT REPLY [Bug 29608] -
FOP out of memory exception
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29608>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29608
FOP out of memory exception
------- Additional Comments From mhilpert@gmx.de 2004-09-23 12:31 -------
That depends on the length of your PDF. E.g. for 100 page documents, better
use -Xmx200mb. But other than that, FOP (0.20.5) is still eating up memory. I
notice this when generating lots of small documents, the memeory increases
until i get an OutOfMemoryError.
I tried freeing FOP resources via
public void cleanUp() {
FopImageFactory.resetCache(); //empty image cache to free up memory
MessageHandler.setScreenLogger(new ConsoleLogger
(ConsoleLogger.LEVEL_INFO)); //reset logger
logger = null;
javaLogger = null;
}//cleanUp()
but that didn't help either.