mirror of https://github.com/apache/archiva.git
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:
parent
eabbeb562e
commit
62cf8e04a7
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue