e.g. Calendar Search Help
You must enter a value before pressing Search
Search Results OK to copy? Examples 1 through 6 of 6 (0.0010 seconds)
Class: org.apache.jsp.forward.forward_jsp  ©, Rating: 100% of 1, C3

43 44 double freeMem = Runtime.getRuntime().freeMemory(); 45 double totlMem = Runtime.getRuntime().totalMemory(); 46 double percent = freeMem/totlMem; 47 if (percent < 0.5) {

Class: org.apache.jmeter.monitor.util.MemoryBenchmark  ©, Rating: 0% of 0, C2

107 } 108 long afree = Runtime.getRuntime().freeMemory(); 109 long atotal = Runtime.getRuntime().totalMemory(); 110 //long amax = Runtime.getRuntime().maxMemory();//JDK1.4 only 111 long delta = ((atotal - afree) - (btotal - bfree));

Class: org.apache.jmeter.monitor.util.MemoryBenchmark  ©, Rating: 0% of 0, C2

039 040 long bfree = Runtime.getRuntime().freeMemory(); 041 long btotal = Runtime.getRuntime().totalMemory(); 042 //long bmax = Runtime.getRuntime().maxMemory();//JDK1.4 only 043 System.out.println("Before we create objects:");

Class: org.apache.batik.util.gui.MemoryMonitor  ©, Rating: 0% of 0, C1

725 for (;;) { 726 long free = runtime.freeMemory(); 727 long total = runtime.totalMemory(); 728 Iterator it = components.iterator(); 729 while (it.hasNext()) {

Class: org.apache.catalina.manager.StatusTransformer  ©, Rating: 0% of 0, C1

167 writer.write("<memory"); 168 writer.write(" free='" + Runtime.getRuntime().freeMemory() + "'"); 169 writer.write(" total='" + Runtime.getRuntime().totalMemory() + "'"); 170 writer.write(" max='" + JdkCompat.getJdkCompat().getMaxMemory() + "'/>"); 171

Class: org.apache.catalina.manager.StatusTransformer  ©, Rating: 0% of 0, C1

155 (new Long(Runtime.getRuntime().freeMemory()), true)); 156 writer.print(" Total memory: "); 157 writer.print(formatSize 158 (new Long(Runtime.getRuntime().totalMemory()), true)); 159 writer.print(" Max memory: ");

Result Page:  1.0