Java 32bit Xmx vs java 64bit Xmx

后端 未结 3 1119
没有蜡笔的小新
没有蜡笔的小新 2021-01-11 10:14

I am really confused with this.

Xmx according to the java docs, is the maximum allowable heap size.
Xms is the minimum required java heap size, and is allocat

3条回答
  •  粉色の甜心
    2021-01-11 10:55

    Actually, the application is not allocating the Xmx memory at startup.

    The -Xms parameter configure the startup memory. (What are the Xms and Xmx parameters when starting JVMs?)

    The 64bit environment allows a bigger memory allocation then 32bits. But, in fact, it's using the HD space, not the memory ram.

    See this other post for more info.

    Estimating maximum safe JVM heap size in 64-bit Java

提交回复
热议问题