0

我有这些 jvm 参数集

-Xms24g -Xmx24g -XX:+UseG1GC -XX:+AggressiveOpts -XX:+UnlockCommercialFeatures -XX:+UnlockExperimentalVMOptions -XX:InitiatingHeapOccupancyPercent=17 -XX:G1MaxNewSizePercent=75 -XX:+FlightRecorder -XX:+PrintCommandLineFlags 

但在我的堆统计中它显示堆统计。怎么可能committed超过Xmx?

4

1 回答 1

0

在 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

于 2021-09-23T16:37:50.437 回答