How is the default max Java heap size determined?

前端 未结 10 1727
旧巷少年郎
旧巷少年郎 2020-11-22 03:50

If I omit the -Xmxn option from the Java command line then a default value will be used. According to Java documentation

\"the default v

10条回答
  •  悲&欢浪女
    2020-11-22 04:33

    For the IBM JVM, the command is the following:

    java -verbose:sizes -version
    

    For more information about the IBM SDK for Java 8: http://www-01.ibm.com/support/knowledgecenter/SSYKE2_8.0.0/com.ibm.java.lnx.80.doc/diag/appendixes/defaults.html?lang=en

提交回复
热议问题