You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2014/10/16 18:38:59 UTC

svn commit: r1632380 - /commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/memoryleaktests/MemoryLeakTestCase.java

Author: sebb
Date: Thu Oct 16 16:38:59 2014
New Revision: 1632380

URL: http://svn.apache.org/r1632380
Log:
Keep trying; tricky to do as many things don't work after OOME

Modified:
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/memoryleaktests/MemoryLeakTestCase.java

Modified: commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/memoryleaktests/MemoryLeakTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/memoryleaktests/MemoryLeakTestCase.java?rev=1632380&r1=1632379&r2=1632380&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/memoryleaktests/MemoryLeakTestCase.java (original)
+++ commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/memoryleaktests/MemoryLeakTestCase.java Thu Oct 16 16:38:59 2014
@@ -488,10 +488,8 @@ public class MemoryLeakTestCase extends 
             }
             // Trying to debug Continuum test fail: try calling GC before releasing the memory
             System.gc();
-            System.out.println("After GC1: " + getMemoryStats());
             list.clear();
             list = null;
-            System.out.println("Count(2) " + count + " : " + getMemoryStats());
             System.gc();
             System.out.println("After GC2: " + getMemoryStats());
             Thread.sleep(1000);