Change log level

This commit is contained in:
Manfred Karrer 2019-01-24 00:15:28 +01:00
parent efcee3e28f
commit 01a044062f
No known key found for this signature in database
GPG key ID: 401250966A6B2C46

View file

@ -47,7 +47,7 @@ import lombok.extern.slf4j.Slf4j;
@Slf4j
public abstract class ExecutableForAppWithP2p extends BisqExecutable implements UncaughtExceptionHandler {
private static final long MAX_MEMORY_MB_DEFAULT = 500;
private static final long CHECK_MEMORY_PERIOD_SEC = 2 * 60;
private static final long CHECK_MEMORY_PERIOD_SEC = 10;
private volatile boolean stopped;
private static long maxMemory = MAX_MEMORY_MB_DEFAULT;
@ -145,7 +145,7 @@ public abstract class ExecutableForAppWithP2p extends BisqExecutable implements
}
UserThread.runAfter(() -> {
log.warn("Memory 2 sec. after calling the GC. usedMemory: {} MB. freeMemory: {} MB",
log.info("Memory 2 sec. after calling the GC. usedMemory: {} MB. freeMemory: {} MB",
Profiler.getUsedMemoryInMB(), Profiler.getFreeMemoryInMB());
}, 2);