all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Xavier Maillard <xma@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: help-gnu-emacs@gnu.org
Subject: Re: setting an optimal value of gc-cons-threshold
Date: Mon, 10 Sep 2007 03:00:31 +0200	[thread overview]
Message-ID: <200709100100.l8A10VNB005607@localhost.localdomain> (raw)
In-Reply-To: <jwvhcm7rs4q.fsf-monnier+gnu.emacs.help@gnu.org> (message from Stefan Monnier on Fri, 07 Sep 2007 00:58:56 -0400)


   >    I found quite a few people in their .emacs setting gc-cons-threshold to
   >    a different value than the default 400000.
   > I did.
   >    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 :)

   There used to be some benefit to setting it higher for large Emacs sessions
   (where GC can take a long time) since it would reduce the frequency of those
   GCs.  In Emacs-22, this is not needed any more because of the new
   `gc-cons-percentage' variable which automatically causes the limit to grow
   as the Emacs process grows, thus preserving a more or less constant
   GC overhead.

Thank you Stefan for your clarifications.

	Xavier
-- 
http://www.gnu.org
http://www.april.org
http://www.lolica.org

  reply	other threads:[~2007-09-10  1:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-02 14:31 setting an optimal value of gc-cons-threshold Leo
     [not found] ` <200708280535.l7S5Zen9013844@localhost.localdomain>
     [not found]   ` <u4pijcvph.fsf@gnu.org>
2007-08-29 23:41     ` Xavier Maillard
2007-08-30  3:19       ` Eli Zaretskii
2007-09-03  1:00         ` Xavier Maillard
     [not found] ` <mailman.5435.1188280107.32220.help-gnu-emacs@gnu.org>
2007-09-07  4:58   ` Stefan Monnier
2007-09-10  1:00     ` Xavier Maillard [this message]
     [not found] <mailman.1498.1180794791.32220.help-gnu-emacs@gnu.org>
2007-06-10  1:04 ` Stefan Monnier
2007-06-10  8:10   ` Leo
2007-06-10 10:14   ` Stephen Berman
2007-06-10 10:59     ` Leo
     [not found]     ` <mailman.1861.1181473317.32220.help-gnu-emacs@gnu.org>
2007-06-12 14:20       ` Stefan Monnier
2007-06-12 15:00         ` Leo
     [not found]         ` <mailman.2024.1181660588.32220.help-gnu-emacs@gnu.org>
2007-06-12 19:52           ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200709100100.l8A10VNB005607@localhost.localdomain \
    --to=xma@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.