Chris Bowditch wrote:

<snip/>

Tested it here, and I don't see any immediate leakage anymore.
One 71-page document, and with -Xmx256M, the heap never exceeded +/-85M. Each document rendered consistently within 3-4s (ran up to 1000 subsequent renderings).


Well memory seems okay for the first 1000 or so. I hate to be the bearer of bad news, but your latest patch doesn't seem any better. Its taking about 5s for 2-3 page documents on a Quad Core 2.66 processor! Running at the heap limit too, currently at 13000 documents. I'm sure it will reach OOM Error at some point during the evening :(

OOM Error did indeed occur at 20900 documents with the latest patch. I need to take a memory leak free build of FOP for use in my own project so I have committed Jeremias' patch for now. If you want me to help test any further changes I will be happy to help.

Thanks,

Chris


Reply via email to