JVM 提交的堆内存大于 Xmx
JVM committed heap memory is more than Xmx
我设置了这些 jvm 参数
-Xms24g -Xmx24g -XX:+UseG1GC -XX:+AggressiveOpts -XX:+UnlockCommercialFeatures -XX:+UnlockExperimentalVMOptions -XX:InitiatingHeapOccupancyPercent=17 -XX:G1MaxNewSizePercent=75 -XX:+FlightRecorder -XX:+PrintCommandLineFlags
但是在我的堆统计信息中它显示 。 committed怎么能超过Xmx?
在 jconsole 中它以 GB 显示值
GB to GiB
Multiply by (1000³ / 1024³), equivalent to 0.931323
Divide by this value to go from GiB to GB
25.8*0.931323 = 24.0281334
我设置了这些 jvm 参数
-Xms24g -Xmx24g -XX:+UseG1GC -XX:+AggressiveOpts -XX:+UnlockCommercialFeatures -XX:+UnlockExperimentalVMOptions -XX:InitiatingHeapOccupancyPercent=17 -XX:G1MaxNewSizePercent=75 -XX:+FlightRecorder -XX:+PrintCommandLineFlags
但是在我的堆统计信息中它显示
在 jconsole 中它以 GB 显示值
GB to GiB
Multiply by (1000³ / 1024³), equivalent to 0.931323
Divide by this value to go from GiB to GB
25.8*0.931323 = 24.0281334