You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by David Kerber <dc...@verizon.net> on 2006/04/13 19:54:23 UTC

"Full GC" vs regular GC?

Can somebody tell me what the difference is between a "full GC" and a 
regular "GC"?  Here's an excerpt from my jakarta-service log, when I 
have the verbose gc option set.  You can see that the total memory used 
drops hugely.  I was intentionally letting my app continue to run to see 
what would happen when I got close to my max memory setting, and all 
that happened is that I got that "Full GC".  Up until then, I thought I 
had a slow (a few bytes per request) memory leak, but could not find 
it.  Now I can see that maybe I don't have one after all?

[2006-04-13 13:03:33] [info] [GC
[2006-04-13 13:03:34] [info] 126790K->120408K(130112K)
[2006-04-13 13:03:34] [info] , 0.3863446 secs]
[2006-04-13 13:05:30] [info] [GC
[2006-04-13 13:05:30] [info] 128536K->122004K(130240K)
[2006-04-13 13:05:31] [info] , 0.2881931 secs]
[2006-04-13 13:05:31] [info] [Full GC
[2006-04-13 13:05:31] [info] 122004K->22246K(130240K)
[2006-04-13 13:05:32] [info] , 0.8706296 secs]
[2006-04-13 13:08:05] [info] [GC
[2006-04-13 13:08:05] [info] 30438K->22346K(130176K)
[2006-04-13 13:08:05] [info] , 0.3083372 secs]
[2006-04-13 13:11:30] [info] [GC
[2006-04-13 13:11:30] [info] 30538K->22385K(130176K)
[2006-04-13 13:11:30] [info] , 0.3139466 secs]


Dave



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org