2010/1/26 Leon Rosenberg <rosenberg.l...@googlemail.com>

> Another customer of mine was playing with gc settings for nearly a
> year, because his tomcats collection times went higher and higher, and
> after a short look at the heap dump with jmap and jhat, we found out
> that he had 100.000.000 uncollectable garbage objects in the heap (2/3
> of his heap actually). Instead of investigating his heap pollution he
> spent 11 month playing with gc options to setup a faster gc. In the
> end the problem was solved in two days.
>
> Definitely.  I've had the same in Smalltalk, the same in C# under the CLR.
Fewer live objects in the heap = faster GC.  Creating fewer short-lived
objects = less time spent in GC and in tenuring objects.  Almost always, the
root of a GC performance problem isn't the GC at all :-).

- Peter

Reply via email to