What are the -Xms and -Xmx parameters when starting JVM?

前端 未结 5 796
悲哀的现实
悲哀的现实 2020-11-21 06:44

Please explain the use of Xms and Xmx parameters in JVMs. What are the default values for them?

5条回答
  •  独厮守ぢ
    2020-11-21 07:08

    The question itself has already been addressed above. Just adding part of the default values.

    As per http://docs.oracle.com/cd/E13150_01/jrockit_jvm/jrockit/jrdocs/refman/optionX.html

    The default value of Xmx will depend on platform and amount of memory available in the system.

提交回复
热议问题