What's the go with the GC these days?

H. S. Teoh hsteoh at quickfur.ath.cx
Mon Jan 7 06:52:40 UTC 2019


On Sun, Jan 06, 2019 at 07:34:41PM -0800, Walter Bright via Digitalmars-d wrote:
> On 1/6/2019 12:28 PM, Reimer Behrends wrote:
> > In general, a modern precise stop-the-world collector should be able
> > to handle 1GB worth of pointers in something like .2 seconds on
> > modern hardware,
>
> I use Thunderbird mail, latest version, and it has random pauses that
> are up to 10 seconds. It'll happen when I'm in the middle of typing,
> which is frustrating.
> 
> I'm not positive it is a GC pause, maybe it's something else, but the
> randomness of it suggests it is GC.

I've experienced a similar effect in Firefox, and though I cannot say
for sure it isn't a GC problem, I notice that it causes a long spike of
intensive I/O, and appears to be correlated with occasional segfaults
and signs of memory corruption / memory leak, and generally happens only
after significant usage over a prolonged timeframe, generally ending up
in a state of extreme memory usage (several GBs in resident set size for
just a small number of persistent tabs) that reset to more reasonable
levels upon restarting and restoring exactly the same tabs.


T

-- 
What are you when you run out of Monet? Baroque.


More information about the Digitalmars-d mailing list