From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/16247 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.user Subject: Some Gnus Registry questions Date: Thu, 11 Apr 2013 08:51:39 +0200 Message-ID: <87d2u1d0g4.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1365663118 16322 80.91.229.3 (11 Apr 2013 06:51:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Apr 2013 06:51:58 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Thu Apr 11 08:52:02 2013 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UQBMX-0004tS-W2 for gegu-info-gnus-english@m.gmane.org; Thu, 11 Apr 2013 08:52:02 +0200 Original-Received: from localhost ([::1]:40010 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQBMX-0007wZ-M1 for gegu-info-gnus-english@m.gmane.org; Thu, 11 Apr 2013 02:52:01 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39517) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQBMU-0007sd-So for info-gnus-english@gnu.org; Thu, 11 Apr 2013 02:51:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UQBMT-0005u2-69 for info-gnus-english@gnu.org; Thu, 11 Apr 2013 02:51:58 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:47256) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQBMS-0005te-Lm for info-gnus-english@gnu.org; Thu, 11 Apr 2013 02:51:57 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UQBMM-0004fr-79 for info-gnus-english@gnu.org; Thu, 11 Apr 2013 08:51:50 +0200 Original-Received: from tsdh.uni-koblenz.de ([141.26.67.142]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Apr 2013 08:51:50 +0200 Original-Received: from tsdh by tsdh.uni-koblenz.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Apr 2013 08:51:50 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 35 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: tsdh.uni-koblenz.de User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:b5valXqRrgzD8Jb2Sg+iTP0KMk4= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:16247 Archived-At: Hi all, lately I was wondering why emacs increased from taking up 1.4% of my memory to nearly 5% just immediately after starting Gnus. By using Stefan Monnier's excellent memory-usage.el package (especially `memory-usage-find-large-variables') I was quickly able to identify that `gnus-registry-db' was the culprit. So now I've set `gnus-registry-max-entries' to 10000 (from nil), which has shrunken its size about a factor 5. Thereby, some questions wrt. the registry came to my mind. 1) What's `gnus-registry-max-pruned-entries' good for? Of course I've read its docs, but still I have no idea. What is a pruned entry? 2) The default value of `gnus-registry-track-extra' is (subject sender recipient). When looking at the gnus registry eioio file, I can see that especially the subject tracking is responsible for a very large portion. Now the question is: do I actually need that? I don't use client-side splitting, so I think the only position where I use the registry is for referring articles (^) and gathering threads (A T), right? And since I also use (setq gnus-summary-thread-gathering-function 'gnus-gather-threads-by-references) I probably don't need the registry tracking subjects, right? In the same sense, do I actually need sender and recipient tracking? For article referring and thread gathering, I think only the Message-Id is needed, right? Bye, Tassilo