some debug lines

pull/390/head
Michael Peter Christen 4 years ago
parent d7b2d82faa
commit 133440a7a6

@ -135,4 +135,14 @@ public abstract class MemoryStrategy {
*/
protected void setProperMbyte(@SuppressWarnings("unused") final long mbyte) {
}
public static void main(String[] args) {
MemoryStrategy sms = new StandardMemoryStrategy();
System.out.println("StandardMemoryStrategy / memoryFree : " + sms.free());
System.out.println("StandardMemoryStrategy / memoryTotal : " + sms.total());
MemoryStrategy gms = new GenerationMemoryStrategy();
System.out.println("GenerationMemoryStrategy / memoryFree : " + sms.free());
System.out.println("GenerationMemoryStrategy / memoryTotal : " + sms.total());
}
}

Loading…
Cancel
Save