static S renderMemoryPoolSizes() { new L lines; long totalCommitted = 0; for (MemoryPoolMXBean b : ManagementFactory.getMemoryPoolMXBeans()) { long committed = b.getUsage().getCommitted(); lines.add(padLeft(str(toK(committed)), 7) + "K committed: " + b.getName() + ": " + b.getUsage()); totalCommitted += committed; } lines.add(""); lines.add("Total committed memory: " + toK(totalCommitted) + "K"); ret lines(lines); }