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

Spring MVC- Redirect from one controller to another

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