Add more information to the debugpaste

This commit is contained in:
N0tMyFaultOG 2020-07-31 20:33:17 +02:00
parent 01e66f8833
commit 01d2b0024f

View file

@ -112,6 +112,8 @@ public class DebugPaste extends SubCommand {
.append('\n');
b.append("Max Memory: ").append(runtime.maxMemory() / 1024 / 1024 + " MB")
.append('\n');
b.append("Total Memory: ").append(runtime.totalMemory() / 1024 / 1024 + " MB").append('\n');
b.append("Available Processors: ").append(runtime.availableProcessors()).append('\n');
b.append("Java Name: ").append(rb.getVmName()).append('\n');
b.append("Java Version: '").append(System.getProperty("java.version"))
.append("'\n");