FYI, I've just help someone off-list with a PDF for a software manual of
about 4000 pages with around 800 screen-shots to be processed with FOP
0.92beta. They had problems with memory consumption. When they switched
from PNGs to JPEGs the whole thing started to work with under 512MB of
memory. Note that JPEGs can be embedded in a PDF 1:1 whereas PNGs have
to be decoded and then reencoded for PDF.

Given the source code, this should actually work with PNGs, too, because
the image cache is able to release memory through the use of a
WeakHashMap. The PDFRenderer signals the image cache immediately that it
doesn't need the reference to the image anymore when it has embedded the
image in the PDF. But it seems that somewhere along the road something's
still going wrong. Nice task for filling a boring, rainy Sunday.... :-)

Maybe this information helps somebody.

Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to