Jeremias Maerki wrote:
remember this thread on fop-users? I've just found out what's wrong.

Great!

There's absolutely nothing wrong with the PDFRenderer or the PDF library
concerning reference freeing. It does it so as soon as each image is
written to the PDF which always happens immediately.

Hm. I'm pretty sure in 0.20.5 a PDF object held a pointer, and the
object was using some data while writing a dictionary structure into
the PDF stream after all the real content was written.
[...]
I ended up in the image cache and in the Javadocs for WeakHashMap where
I found that little detail that the weak reference is on the key, not
the value.

Oops, my fault.

J.Pietschmann

Reply via email to