From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60420 Path: news.gmane.org!not-for-mail From: leurent@thym.ens.fr (=?iso-8859-1?Q?Ga=EBtan?= LEURENT) Newsgroups: gmane.emacs.gnus.general Subject: dribble file getting huge Date: Tue, 07 Jun 2005 01:15:04 +0200 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1118187002 13372 80.91.229.2 (7 Jun 2005 23:30:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Jun 2005 23:30:02 +0000 (UTC) Original-X-From: ding-owner+M8948@lists.math.uh.edu Wed Jun 08 01:29:58 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DfnVq-0006Vk-VH for ding-account@gmane.org; Wed, 08 Jun 2005 01:29:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1DfnVa-0007fZ-00; Tue, 07 Jun 2005 18:29:22 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1DfQoH-0003dq-00 for ding@lists.math.uh.edu; Mon, 06 Jun 2005 18:15:09 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1DfQoE-0005Oy-3B for ding@lists.math.uh.edu; Mon, 06 Jun 2005 18:15:06 -0500 Original-Received: from news by quimby.gnus.org with local (Exim 3.35 #1 (Debian)) id 1DfQoD-0003bo-00 for ; Tue, 07 Jun 2005 01:15:05 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 22 Original-NNTP-Posting-Host: thym.ens.fr Original-X-Trace: quimby.gnus.org 1118099705 13874 129.199.129.27 (6 Jun 2005 23:15:05 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Mon, 6 Jun 2005 23:15:05 +0000 (UTC) X-Start-Date: Tue, 07 Jun 2005 00:12:33 +0200 User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (usg-unix-v) Cancel-Lock: sha1:hGs0m2+uuim2lQ2wrnFfe1ucc1k= X-Spam-Score: -4.9 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60420 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:60420 Hi, I read some local newsgroup with about 200 messages per day, and with no expiration; my .newrc-servername.eld gets quite big (around 1MB) but everything works fine. The problem is that I usually let my Gnus run for weeks, and then the group informations are written hundreds of time in the dribble file, which grows to hundreds of megabytes, and so emacs eats that much memory and gets a lot slower ... I don't want to set gnus-use-dribble-file to nil because that would be a lot of trouble if Gnus crashes after a week. Is there any way to get the benefits of the dribble file without this annoying memory problem ? I tried (add-hook 'gnus-after-getting-new-news-hook 'gnus-save-newsrc-file) (add-hook 'gnus-after-getting-new-news-hook 'gnus-dribble-clear) wich seems to work fine, but I'm not sure this really saves everything. Maybe a solution would be to make gnus-dribble-enter smarter so that it removes the old (gnus-server-set-info ...) before writing the new one ... I'm using Gnus 5.11 in emacs CVS.