edu.wisc.ssec.mcidasv.util
Class GetMem
java.lang.Object
edu.wisc.ssec.mcidasv.util.GetMem
public class GetMem
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetMem
public GetMem()
callMXBeanMethod
private <T> T callMXBeanMethod(String methodName,
T defaultValue)
main
public static void main(String[] args)
throws Exception
- The main. Get total system memory and print it out.
Account for 32bit JRE limitation of 1.5GB.
Print value in megabytes.
- Throws:
Exception