do not call garbage collector

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1427135 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-12-31 14:16:07 +00:00
parent eabbeb562e
commit 62cf8e04a7
1 changed files with 1 additions and 1 deletions

View File

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