From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xavier Maillard Newsgroups: gmane.emacs.help Subject: Re: setting an optimal value of gc-cons-threshold Date: Thu, 30 Aug 2007 01:41:59 +0200 Organization: GNU's Not UNIX! Message-ID: <200708292341.l7TNfxYn005120@localhost.localdomain> References: <200708280535.l7S5Zen9013844@localhost.localdomain> Reply-To: Xavier Maillard NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1188431830 24916 80.91.229.12 (29 Aug 2007 23:57:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 29 Aug 2007 23:57:10 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 30 01:57:09 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IQXPI-00037j-2f for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Aug 2007 01:57:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IQXPH-0000Wr-OL for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Aug 2007 19:57:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IQXN5-0006ua-Ri for help-gnu-emacs@gnu.org; Wed, 29 Aug 2007 19:54:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IQXN5-0006tF-4T for help-gnu-emacs@gnu.org; Wed, 29 Aug 2007 19:54:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IQXN4-0006ss-SB for help-gnu-emacs@gnu.org; Wed, 29 Aug 2007 19:54:50 -0400 Original-Received: from master.uucpssh.org ([193.218.105.66]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IQXN0-0007rZ-N3; Wed, 29 Aug 2007 19:54:46 -0400 Original-Received: by master.uucpssh.org (Postfix, from userid 10) id 1323FAC5D7; Thu, 30 Aug 2007 01:52:11 +0200 (CEST) Original-Received: from localhost.localdomain (IDENT:1000@localhost [127.0.0.1]) by localhost.localdomain (8.14.1/8.13.8) with ESMTP id l7TNg0Tu005123; Thu, 30 Aug 2007 01:42:00 +0200 Original-Received: (from xma@localhost) by localhost.localdomain (8.14.1/8.13.8/Submit) id l7TNfxYn005120; Thu, 30 Aug 2007 01:41:59 +0200 In-reply-to: (message from Eli Zaretskii on Tue, 28 Aug 2007 22:20:26 +0300) User-Agent: Rmail in GNU Emacs 23.0.51.2 on GNU/Linux Jabber-ID: xma01@jabber.fr X-uucpssh: Found to be clean X-uucpssh-SpamCheck: not spam, SpamAssassin (not cached, score=-4.332, required 4.6, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.07, BAYES_00 -2.60, SPF_HELO_PASS -0.00) X-uucpssh-From: xma@gnu.org X-Detected-Kernel: Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:46961 Archived-At: Hi Eli, > 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. Although I think you are right, I remember having been advised to do so after having encountered errors such as with `max-specpdl-size' being too small/high (depending on the case). Does it sound possible to you ? Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org