mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-20 13:54:32 +01:00
Add freeMemory to log
Cleanup
This commit is contained in:
parent
245b76be74
commit
5c2199ff49
2 changed files with 3 additions and 2 deletions
|
@ -64,10 +64,11 @@ public class GcUtil {
|
|||
long postGcMemory = Runtime.getRuntime().totalMemory();
|
||||
long duration = System.currentTimeMillis() - ts;
|
||||
totalGCTime += duration;
|
||||
log.info("GC reduced memory by {}. Total memory before/after: {}/{}. Took {} ms. Total GC invocations: {} / Total GC time {} sec",
|
||||
log.info("GC reduced memory by {}. Total memory before/after: {}/{}. Free memory: {}. Took {} ms. Total GC invocations: {} / Total GC time {} sec",
|
||||
Utilities.readableFileSize(preGcMemory - postGcMemory),
|
||||
Utilities.readableFileSize(preGcMemory),
|
||||
Utilities.readableFileSize(postGcMemory),
|
||||
Utilities.readableFileSize(Runtime.getRuntime().freeMemory()),
|
||||
duration,
|
||||
totalInvocations,
|
||||
totalGCTime / 1000d);
|
||||
|
|
|
@ -603,7 +603,7 @@ public abstract class ChartView<T extends ChartViewModel<? extends ChartDataMode
|
|||
updateTimeLinePositions();
|
||||
|
||||
model.invalidateCache();
|
||||
applyDataAndUpdate(); //3
|
||||
applyDataAndUpdate();
|
||||
}
|
||||
|
||||
private void updateTimeLinePositions() {
|
||||
|
|
Loading…
Add table
Reference in a new issue