Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

1. Сonfigure CMS GC in the wcs-core.properties (for For example, allocating 24G under memory heap and tuning the NewSize and MaxNewSize parameters for to control the new generation’s minimum and maximum size, regulate the new generation size by setting these parameters sizes to be equal. In general, keep the eden Eden size between one fourth and one third of the maximum heap size.)

Code Block
languagebash
themeRDark
# Used CMS GC
-XX:+UseConcMarkSweepGC -Xms24g -Xmx24g -XX:NewSize=6144m -XX:MaxNewSize=6144m

# Log
-Xloggc:/usr/local/FlashphonerWebCallServer/logs/gc-core-
-XX:ErrorFile=/usr/local/FlashphonerWebCallServer/logs/error%p.log

...