fop-users  

Re: Memory Leak issue -- FOP

Craig Ringer
Wed, 25 Aug 2010 17:36:31 -0700

On 26/08/2010 3:39 AM, Hamed Mohammed wrote:
Hello Users:
Any idea on how to solve the FOP memory leak issue. Below snap shots are
taken from Eclipse Memory Analyzer of a IBM portable heap dump.

What makes you think that's a memory leak?

It's a large amount of memory consumption, sure. But is there any evidence it's growing over time? Or growing whenever a new document is processed, without shinking again when the document is finished?

How do you know it's not your own code keeping references to the fop instances around? Can you produce a small, self-contained program that demonstrates the leak?

If your real question is "why is FOP using so much memory" ... well, to answer that it'd be necessary to know more about your XSL-FO input and the associated resources like graphics.

--
Craig Ringer

Tech-related writing at http://soapyfrogs.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org