Re: setting an optimal value of gc-cons-threshold
  Home FAQ Contact Sign in
gnu.emacs.help only
 
Advanced search
POPULAR GROUPS

more...

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

Group: gnu.emacs.help · Group Profile
Author: Eli Zaretskii
Date: Aug 28, 2007 12:20

> Date: Tue, 28 Aug 2007 07:35:40 +0200
> From: Xavier Maillard 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.
no comments
diggit! del.icio.us! reddit!