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

前端 未结 5 763
悲哀的现实
悲哀的现实 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:03

    You can specify it in your IDE. For example, for Eclipse in Run ConfigurationsVM arguments. You can enter -Xmx800m -Xms500m as

    Enter image description here

提交回复
热议问题