Gnus development mailing list
 help / color / mirror / Atom feed
From: leurent@thym.ens.fr (Gaëtan LEURENT)
Subject: dribble file getting huge
Date: Tue, 07 Jun 2005 01:15:04 +0200	[thread overview]
Message-ID: <qlk3brvnklj.fsf@thym.ens.fr> (raw)

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.



             reply	other threads:[~2005-06-06 23:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-06 23:15 Gaëtan LEURENT [this message]
2005-06-07 22:53 Dribble " Gaëtan LEURENT
2005-06-08 18:58 ` Ted Stern
2005-06-08 20:58   ` Gaëtan LEURENT

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=qlk3brvnklj.fsf@thym.ens.fr \
    --to=leurent@thym.ens.fr \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).