mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-23 23:06:39 +01:00
Change log level
This commit is contained in:
parent
efcee3e28f
commit
01a044062f
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue