/[Apache-SVN]
ViewVC logotype

Revision 428450


Jump to revision: Previous Next
Author: jeremias
Date: Thu Aug 3 16:53:41 2006 UTC (17 years, 10 months ago)
Changed paths: 6
Log Message:
Fixed a memory-leak: The FO tree part of a page-sequence was not released when a page-sequence was finished.

Added a "MemoryEater" debug helper which can replicate page-sequences of a regular FO file using the fo-replicator.xsl. Without the fix a JVM set to the normal 64MB heap size throws an OutOfMemoryError when replicating readme.fo 150 times. With the fix the memory consumption doesn't go above 10MB for the 1350 pages. Note that about one third of the time goes into garbage collection.


Changed paths

Path Details
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/fo/pagination/PageSequence.java modified , text changed
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/PageSequenceLayoutManager.java modified , text changed
Directoryxmlgraphics/fop/trunk/status.xml modified , text changed
Directoryxmlgraphics/fop/trunk/test/java/org/apache/fop/memory/ added
Directoryxmlgraphics/fop/trunk/test/java/org/apache/fop/memory/MemoryEater.java added
Directoryxmlgraphics/fop/trunk/test/xsl/fo-replicator.xsl added

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26