maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r804034 - /maven/doxia/doxia-tools/trunk/doxia-linkcheck/src/main/java/org/apache/maven/doxia/linkcheck/DefaultLinkCheck.java
Date Thu, 13 Aug 2009 21:28:22 GMT
Author: hboutemy
Date: Thu Aug 13 21:28:21 2009
New Revision: 804034

URL: http://svn.apache.org/viewvc?rev=804034&view=rev
Log:
free memory after link check is done

Modified:
    maven/doxia/doxia-tools/trunk/doxia-linkcheck/src/main/java/org/apache/maven/doxia/linkcheck/DefaultLinkCheck.java

Modified: maven/doxia/doxia-tools/trunk/doxia-linkcheck/src/main/java/org/apache/maven/doxia/linkcheck/DefaultLinkCheck.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia-tools/trunk/doxia-linkcheck/src/main/java/org/apache/maven/doxia/linkcheck/DefaultLinkCheck.java?rev=804034&r1=804033&r2=804034&view=diff
==============================================================================
--- maven/doxia/doxia-tools/trunk/doxia-linkcheck/src/main/java/org/apache/maven/doxia/linkcheck/DefaultLinkCheck.java
(original)
+++ maven/doxia/doxia-tools/trunk/doxia-linkcheck/src/main/java/org/apache/maven/doxia/linkcheck/DefaultLinkCheck.java
Thu Aug 13 21:28:21 2009
@@ -270,7 +270,11 @@
 
         displayMemoryConsumption();
 
-        return model;
+        // free memory
+        LinkcheckModel returnValue = model;
+        model = null;
+
+        return returnValue;
     }
 
     /** {@inheritDoc} */



Mime
View raw message