How to examine the amount of free memory in java

Runtime runtime = Runtime.getRuntime();
System.out.println ("Free memory : " - + runtime.freeMemory() );

Comments

Popular posts from this blog

defining functions clojure

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