Pushing too frequently challenges session memory, optimization consider ZGC
Opened this issue · 1 comments
huanglongchao commented
In what area(s)?
/area runtime
/area operator
/area placement
/area docs
/area test-and-release
Describe the feature
NickNYU commented
可以参考下之前的配置,有需要的话,微调:
-XX:+UnlockExperimentalVMOptions -XX:+UseZGC -XX:ConcGCThreads=2 -XX:ParallelGCThreads=6 -XX:ZCollectionInterval=120 -XX:ZAllocationSpikeTolerance=5 -XX:+UnlockDiagnosticVMOptions -XX:-ZProactive -Xlog:safepoint,classhisto*=trace,age*,gc*=info:file=/home/admin/logs/gc-%t.log:time,tags:filecount=5,filesize=50m -Dlog4j2.AsyncQueueFullPolicy=Discard -Dlog4j2.DiscardThreshold=ERROR -Dlog4j2.is.webapp=false -Dlog4j2.enable.threadlocals=true -Dlog4j2.garbagefree.threadContextMap=true -DAsyncLogger.RingBufferSize=49152 -DAsyncLoggerConfig.RingBufferSize=49152