]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Release intermediate file ASAP to avoid high memory consumption.
authorJeremias Maerki <jeremias@apache.org>
Mon, 28 Jul 2008 13:52:34 +0000 (13:52 +0000)
committerJeremias Maerki <jeremias@apache.org>
Mon, 28 Jul 2008 13:52:34 +0000 (13:52 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@680360 13f79535-47bb-0310-9956-ffa450edef68

test/java/org/apache/fop/intermediate/AbstractIntermediateTestCase.java

index 19b1a4a9db2dba5e19bef94f2b5a6f4a46f6ed0f..63e293afe9008771f0ceb0470c853d6acdf8efa7 100644 (file)
@@ -96,6 +96,12 @@ public abstract class AbstractIntermediateTestCase extends XMLTestCase {
         }
     }
 
+    /** {@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