This content has been marked as final. Show 2 replies
What can you tell use about the nature of long pause times? How often do they occur? Is it after a burst of activity?1 person found this helpful
Have you tried memory profiling your application to minimise object creation?
We were able to resolve the issue by using concurrent, multi threaded garbage collector i.e. G1GC:
-server -d64 -Xms1024m -Xmx3072m -XX:+HeapDumpOnOutOfMemoryError -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:+AggressiveOpts -XX:+DoEscapeAnalysis -XX:MaxGCPauseMillis=400 -XX:GCPauseIntervalMillis=8000 -XX:+UseCompressedOops -XX:NewRatio=50
We can also use additionally following JVM Params w.r.t debugging/logging:
-XX:+PrintGCTimeStamps -XX:+PrintGCApplicationStoppedTime -XX:+PrintGCApplicationConcurrentTime