Java Garbage Collection Question
We are seeing a behaviour in our production application for which i would like to seek your opinion. Our application is hosted on WebSphere Application Server v6.0 on a Solaris platform and uses Sun JRE 1.4.2_08.
We are seeing that a GC collection (minor) is happening every 2.5 seconds and the GC duration is very small, 0.04 seconds. Also the max heap size defined for the application is 1.0GB, we dont see the heap usage going beyond 600mb.Also, what i observed from the GC logs is that the Eden generation heap area is always around 100% and the tenured generation heap area increases from 35% to 100% in a matter of 1 minute. So two questions really,
1. Is it ok if the GC happens so frequently given that the pause is very less, 0.04 sec
2. Do we need to tune anything w.r.t the size of Eden Generation heap area?