fixed wrong used memory display

pull/1/head
Michael Peter Christen 11 years ago
parent f97428fe5d
commit d8e79731df

@ -318,7 +318,7 @@ public class Status
}
// memory usage and system attributes
prop.put("usedMemory", Formatter.bytesToString(MemoryControl.total()));
prop.put("usedMemory", Formatter.bytesToString(MemoryControl.used()));
prop.put("maxMemory", Formatter.bytesToString(MemoryControl.maxMemory()));
prop.put("usedDisk", Formatter.bytesToString(sb.observer.getSizeOfDataPath(true)));
prop.put("freeDisk", Formatter.bytesToString(sb.observer.getUsableSpace()));

Loading…
Cancel
Save