Posts

Showing posts with the label JVM

How to check JVM settings?

You can use below command to check all detailed settings of JVM on linux as well as windows: # java -XshowSettings:all If everything goes well then OUTPUT can be like: VM settings:     Max. Heap Size (Estimated): 1.76G     Ergonomics Machine Class: client     Using VM: Java HotSpot(TM) 64-Bit Server VM Property settings:     awt.toolkit = sun.awt.windows.WToolkit     file.encoding = Cp1252     file.encoding.pkg = sun.io     file.separator = \     java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment     java.awt.printerjob = sun.awt.windows.WPrinterJob     java.class.path = .     java.class.version = 52.0     java.endorsed.dirs = C:\Program Files\Java\jre1.8.0_31\lib\endorsed     java.ext.dirs = C:\Program Files\Java\jre1.8.0_31\lib\ext         C:\Windows\Sun\Java\lib\ext     java.home = C:\Program Fi...