On Aug 2, 2006, at 19:37, Donald Mackinnon wrote:

Hi,
I have generated large PDF reports on a Solaris 10 server running Java 1.5.0_01 for FOP release 0.20.5 and 0.92 Beta and findings are as follows:
First of all: thanks for sharing your findings. Always interesting to get feedback on performance/efficiency.
1) FOP 0.92 Beta appears to be freeing up memory rapidly after .pdf generation whereas FOP 0.20.5 does not.
Partly so, yes. Mainly because the layout-logic (and construction of the area-tree) has been separated from constructing the tree of FOs. Depending on whether you use relatively small-sized page-sequences, this could indeed mean a drastic increase in efficiency there.

Mind that the FO tree is kept entirely in memory --if I esteemed correctly-- until the Root is no longer referenced. For very large input, but I mean HUGE --thousands of pages--, this can still eventually lead to the heap being completely filled up with FOs, so the layoutengine gets less-and-less space to work with... :(
2) FOP 0.92 Beta appears to use up significantly more memory in the generation of the .pdf (circa 60% in the case of a big report) 3) The .pdf reports are taking significantly longer to create (between 50% and 100%) with the FOP 0.92
Hmm. Real thorough profiling hasn't been performed so far. If you know how to handle a profiler and know what to look out for, and if you're volunteering... ;)

OTOH, increased functionality doesn't come for free --ultimately 0.92 does offer more features.

It would be interesting to make comparisons between certain types of FO structure. For instance: how do tables/lists/images etc. compare from one version to the other?



Cheers,

Andreas

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

Reply via email to