Op woensdag, 23 juni 2010 14:31 schreef "Robinson, Eric"
<eric.robin...@psmnv.com>:
> You can monitor the gc with jstat.
> jstat -gc <pid> 10s
> This wil show you the memory usage of a java instance with the time spent in GC.
> If it does 0.9 sec. of GC every sec. yare running inefficient. :-)
Thanks. I guess I could restate the question as, "Does GC inefficiency really matter
if overall CPU utilization remains low?"
--
Eric Robinson
I don't know. Does it matter to you?
If you have a lot of GC your CPU% wil not be very low. GC is CPU bound (if you
are not swapping).
If your server still has enough CPU power and the users are not complaining
about the speed, than you don't have a problem.
Ronald.