Hi All,

I have application that collect every 15 sec about 1.5 Giga (see the GC output) , the GC work very diffuclt all the time. I tried to use all GC flag that I know but was not able to solve the pausing problem. In this example I used the following setting "-server -Xms4000m -Xmx12000m -Xss256k -XX:MaxGCPauseMillis=1000" but I see that my application is freezing for about 3-8 second. I also used "-XX:+UseConcMarkSweepGC -XX:+UseParNewGC" but it didn't help.

Maybe I need to change my application and use string.intern() instead of creating this 1.5Giga every 15 sec.

But if you have any idea ....

Thanks a lot,


135.066: [GC [PSYoungGen: 1805760K->132808K(1938624K)] 3627353K->1954401K(5061312K), 0.1083810 secs] [Times: user=0.40 sys=0.01, real=0.11 secs]
139.422: [GC [PSYoungGen: 1938568K->157004K(2209472K)] 3760161K->2111795K(5332160K), 0.1533570 secs] [Times: user=0.59 sys=0.00, real=0.16 secs]
142.901: [GC [PSYoungGen: 1962764K->150429K(1956224K)] 3917555K->2267160K(5078912K), 0.1079040 secs] [Times: user=0.41 sys=0.00, real=0.11 secs]
146.946: [GC [PSYoungGen: 1956189K->155661K(2177920K)] 4072920K->2417643K(5300608K), 0.1426250 secs] [Times: user=0.54 sys=0.02, real=0.14 secs]
150.633: [GC [PSYoungGen: 1961421K->153655K(1959424K)] 4223403K->2568438K(5082112K), 0.1561000 secs] [Times: user=0.61 sys=0.01, real=0.15 secs]
156.907: [GC [PSYoungGen: 1959415K->166104K(2145344K)] 4374198K->2735676K(5268032K), 3.2337120 secs] [Times: user=0.72 sys=12.06, real=3.24 secs]
162.265: [GC [PSYoungGen: 1971864K->153089K(1958912K)] 4541436K->2889176K(5081600K), 0.1660350 secs] [Times: user=0.49 sys=0.10, real=0.16 secs]
163.977: [GC [PSYoungGen: 1958849K->116604K(2135744K)] 4694936K->2972528K(5258432K), 0.1811850 secs] [Times: user=0.47 sys=0.23, real=0.18 secs]
167.440: [GC [PSYoungGen: 1922364K->158962K(1964736K)] 4778288K->3127325K(5087424K), 0.1524080 secs] [Times: user=0.51 sys=0.08, real=0.15 secs]