On May 12, 2008, at 16:37, LN wrote:


Hi

I tested FOP-0.94, FOP-0.95beta and FOP-0.20.5 using pdfoutline.fo. I added more fo:block(simple text) to the pdfoutline.fo file until the size of this file is reached 7.74M. Both FOP-0.94 and FOP-0.95beta require at least 896M heap size to run and produce 1580 pages PDF document. However, FOP-0.20.5 only require 64M to run. That's a huge different. I tested with Sun JDK1.4.2
and Sun JDK1.5_06.

FOP-Devepers: can you please look into the FOP process and see why new
re-design takes much more memory than old FOP-0.20.5.

Simple text-layout has become a lot more memory-consuming than the previous version, but should also lead to much better-looking results.

How exactly did you alter the document? By putting a lot of text in a single fo:block? By putting all of the fo:blocks in one page-sequence?

FOP 0.9x has a much more complex layout-algorithm that works at optimum efficiency if you use relatively small to middle-sized fo:blocks (corresponding to paragraphs), and relatively small to medium-sized page-sequences (corresponding to chapters in your document)


Cheers

Andreas

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

Reply via email to