verbose log shows that Full GC occurrence is in every 7 second -
], 7.3933980 secs] [Times: user=89.17 sys=1.16, real=7.39 secs] 79959.910: [Full GC [PSYoungGen: 390144K->194442K(451584K)] [ParOldGen: 1572654K->1572852K(1572864K)] 1962798K->1767294K(2024448K) [PSPermGen: 103569K->103569K(103936K)], 7.9599570 secs] [Times: user=95.28 sys=1.09, real=7.96 secs] 79984.776: [Full GC [PSYoungGen: 390144K->196124K(451584K)] [ParOldGen: 1572852K->1572544K(1572864K)] 1962996K->1768668K(2024448K) [PSPermGen: 103569K->103569K(103936K)], 7.6023130 secs] [Times: user=91.82 sys=1.22, real=7.60 secs] 80007.996: [Full GC [PSYoungGen: 390144K->194969K(451584K)] [ParOldGen: 1572544K->1572734K(1572864K)] 1962688K->1767703K(2024448K) [PSPermGen: 103569K->103569K(103936K)], 8.0980790 secs] [Times: user=98.03 sys=1.28, real=8.10 secs]
I'm using this JVM params with Oracle hotspot 64 bit, RAM size is 30688332 KB and java version 1.7.0_91,on Linux-
-server -Xmx2048m -Xms2048m -XX:NewRatio=3 -XX:MaxPermSize=512m -XX:+UseParallelGC -Djava.awt.headless=true
I've tried to change NewRatio to 2 or 3 and Xmx to
verbose gc logs shows that Old generation is struggling to reallocate memory. What should be the next step? Please suggest!