Hi Team, Thanks for replying.
Our G1GC setting are below:
-XX:+UseG1GC
-XX:InitiatingHeapOccupancyPercent=45
-XX:ConcGCThreads=2
-XX:ParallelGCThreads=8
-XX:+ParallelRefProcEnabled
-XX:MaxGCPauseMillis=200
-XX:+UnlockExperimentalVMOptions
-XX:G1NewSizePercent=50
-XX:G1MaxNewSizePercent=80
-XX:+UseStringDeduplication
-XX:MaxMetaspaceSize=512m
System logical processor are 8, and total memory is 32 GB , out of total half memory (16GB) is allocated to our java process. we are using jdk1.8.0_241-b07.
We enabled the GC footprint and I investigated the GC logs and there are very high number of "Full GC (Metadata GC Threshold)"
2021-01-14T15:43:54.793+1100: 10755.311: [Full GC (Metadata GC Threshold) 2021-01-14T15:43:54.796+1100: 10755.313: [GC concurrent-root-region-scan-end, 0.0022897 secs]
2021-01-14T15:43:54.796+1100: 10755.313: [GC concurrent-mark-start]
3318M->2618M(6840M), 4.9676785 secs]
[Eden: 0.0B(3164.0M)->0.0B(3424.0M) Survivors: 256.0M->0.0B Heap: 3318.8M(6840.0M)->2618.3M(6840.0M)], [Metaspace: 360673K->348932K(1486848K)]
[Times: user=7.38 sys=0.00, real=4.97 secs]
Look like Metaspace GC creating the issue. can you help us to fine tune these property so that we can avoid long pauses. latency is important in our project.
your help is much appreciated.
Regards
Rakesh
Edit your Comment