You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by je...@apache.org on 2008/07/28 15:52:35 UTC

svn commit: r680360 - /xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/intermediate/AbstractIntermediateTestCase.java

Author: jeremias
Date: Mon Jul 28 06:52:34 2008
New Revision: 680360

URL: http://svn.apache.org/viewvc?rev=680360&view=rev
Log:
Release intermediate file ASAP to avoid high memory consumption.

Modified:
    xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/intermediate/AbstractIntermediateTestCase.java

Modified: xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/intermediate/AbstractIntermediateTestCase.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/intermediate/AbstractIntermediateTestCase.java?rev=680360&r1=680359&r2=680360&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/intermediate/AbstractIntermediateTestCase.java (original)
+++ xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/intermediate/AbstractIntermediateTestCase.java Mon Jul 28 06:52:34 2008
@@ -96,6 +96,12 @@
         }
     }
 
+    /** {@inheritDoc} */
+    protected void tearDown() throws Exception {
+        this.intermediate = null; //Release memory
+        super.tearDown();
+    }
+
     /**
      * Returns the file extension for the intermediate file format.
      * @return the file extension



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org