Today's Question:  What does your personal desk look like?        GIVE A SHOUT

 ALL


  MaxHeapSize in JVM

MaxHeapSize is an option which is to set the JVM maximum heap size can be allocated. We can specify the MaxHeapSize as VM argument when we run the program by setting -XX:MaxHeapSize=, here can be 2M, 20M, 200M etc.We can also view the current MaxHeapSize set by setting different JVM options. To view the MaxHeapSize, we can use two JVM options : -XX:+PrintFlagsFinal and -XX:+PrintCommandLineFlags. Below is one example when running -XX:+PrintFlagsFinal: bool MaxFDLimit = true {product}uintx MaxGCMinorPauseMillis = 4294967295 {pro...

12,980 0       JVM MAXHEAPSIZE ALIGNMENT