public static void logJVMStatistics()
{
System.out.println("JVM Statistics -- Max : " + Runtime.getRuntime().maxMemory() + "; " +
"Free: " + Runtime.getRuntime().freeMemory() + "; " +
"Total: " + Runtime.getRuntime().totalMemory());
}
No comments:
Post a Comment