static long memoryBeans_totalCommitted() { long totalCommitted = 0; for (MemoryPoolMXBean b : ManagementFactory.getMemoryPoolMXBeans()) totalCommitted += b.getUsage().getCommitted(); ret totalCommitted; }