help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setting an optimal value of gc-cons-threshold


From: Eli Zaretskii
Subject: Re: setting an optimal value of gc-cons-threshold
Date: Tue, 28 Aug 2007 22:20:26 +0300

> Date: Tue, 28 Aug 2007 07:35:40 +0200
> From: Xavier Maillard <xma@gnu.org>
> Jabber-ID: xma01@jabber.fr
> Cc: help-gnu-emacs@gnu.org
> 
>    I found quite a few people in their .emacs setting gc-cons-threshold to
>    a different value than the default 400000.
> 
> I did.

Don't.

>    I wonder if there is a guidance for setting this value.
> 
> So do I. I remember increasing it after several Gnus crashes but
> I did it without reflexion on what value to put here :)
> 
> If you manage to get a valid answer here, I am really interested
> in reading it.

The answer, based on experience in both increasing and decreasing the
value, is to use the default.  It is tuned quite well to strike the
balance between too frequent GCs and ones that are far apart, but take
an annoyingly long time.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]