]> source.dussan.org Git - archiva.git/commitdiff
do not call garbage collector
authorOlivier Lamy <olamy@apache.org>
Mon, 31 Dec 2012 14:16:07 +0000 (14:16 +0000)
committerOlivier Lamy <olamy@apache.org>
Mon, 31 Dec 2012 14:16:07 +0000 (14:16 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1427135 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultSystemStatusService.java

index a2cb8e2f5632746aec0f6600835b405222508f58..80bf050d3450930550f5f1b9898b57683cb6e1e2 100644 (file)
@@ -78,7 +78,7 @@ public class DefaultSystemStatusService
         throws ArchivaRestServiceException
     {
         Runtime runtime = Runtime.getRuntime();
-        runtime.gc();
+
         long total = runtime.totalMemory();
         long used = total - runtime.freeMemory();
         long max = runtime.maxMemory();