Gnus development mailing list
 help / color / mirror / Atom feed
* Dribble file getting huge
@ 2005-06-07 22:53 Gaëtan LEURENT
  2005-06-08 18:58 ` Ted Stern
  0 siblings, 1 reply; 4+ messages in thread
From: Gaëtan LEURENT @ 2005-06-07 22:53 UTC (permalink / 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.

-- 
Gaëtan LEURENT



^ permalink raw reply	[flat|nested] 4+ messages in thread
* dribble file getting huge
@ 2005-06-06 23:15 Gaëtan LEURENT
  0 siblings, 0 replies; 4+ messages in thread
From: Gaëtan LEURENT @ 2005-06-06 23:15 UTC (permalink / 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.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-06-08 20:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-07 22:53 Dribble file getting huge Gaëtan LEURENT
2005-06-08 18:58 ` Ted Stern
2005-06-08 20:58   ` Gaëtan LEURENT
  -- strict thread matches above, loose matches on Subject: below --
2005-06-06 23:15 dribble " Gaëtan LEURENT

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).