how to get total Heap Size in JVM



Runtime runtime = Runtime.getRuntime();
System.out.println("Total Heap Size of JVM"+runtime.totalMemory());

Comments

Popular posts from this blog

defining functions clojure

How to retain the space of the td after hidding it in Jquery

Integrating Struts2 with Spring Security using Custom Login Form