wood burning stoves*
The moose likes Performance and the fly likes Garbage Collection interpretation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Performance
Bookmark "Garbage Collection interpretation" Watch "Garbage Collection interpretation" New topic
Author

Garbage Collection interpretation

Raghu Madabusi
Greenhorn

Joined: Nov 26, 2003
Posts: 3
Hi,
Our application on resin/solaris stops responding after couple of hours. I've been looking in various places as to see why this is happening including the garbage collection. As said, I have enabled the GC with the following parameters.
args="-J-ms640M -J-mx640M -Xloggc:gc.log -XX:+UseParNewGC -XX:+UseConcMarkSweepGC
3397.492: [ParNew 244274K->228481K(655296K), 0.0164034 secs]
3404.127: [ParNew 244737K->228808K(655296K), 0.0178065 secs]
3411.827: [ParNew 245064K->229116K(655296K), 0.0165334 secs]
3413.900: [ParNew 245361K->229390K(655296K), 0.0106402 secs]
3424.477: [ParNew 245646K->229791K(655296K), 0.0144252 secs]
3437.624: [ParNew 246047K->230165K(655296K), 0.0180910 secs]
3438.580: [ParNew 246409K->230323K(655296K), 0.0085623 secs]
3442.865: [ParNew 246577K->230650K(655296K), 0.0108344 secs]
3447.135: [ParNew 246906K->230997K(655296K), 0.0118452 secs]
3450.886: [ParNew 247253K->231555K(655296K), 0.0170560 secs]
3454.262: [ParNew 247811K->232107K(655296K), 0.0309127 secs]
3457.748: [ParNew 248363K->232402K(655296K), 0.0092401 secs]
3461.104: [ParNew 248658K->232693K(655296K), 0.0110340 secs]
3466.165: [ParNew 248949K->233433K(655296K), 0.0197928 secs]
3471.993: [ParNew 249684K->234042K(655296K), 0.0169716 secs]
3475.261: [ParNew 250298K->234398K(655296K), 0.0121353 secs]
3480.919: [ParNew 250654K->235309K(655296K), 0.0218152 secs]
I'm curious to know our application is not leaking memory thus causing resin to respond. I ran our application thru couple of profilers and I can see the objects get collected after they are done. Can any one help me out by looking at the above log to see things are ok with respect to GC. This will help me to troubleshoot in another areas.
I never see Full GC and the resin stops responding even I have 300 MB left. Any help is geatly appreciated.
Thanks a bunch
Corneil du Plessis
Greenhorn

Joined: Feb 12, 2004
Posts: 13
Which version of JVM on which version of Solaris?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Garbage Collection interpretation