From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/65045 Path: news.gmane.org!not-for-mail From: Sven Joachim Newsgroups: gmane.emacs.gnus.general Subject: Re: Huge memory consumption on accessing large newsgroup Date: Mon, 13 Aug 2007 19:30:16 +0200 Message-ID: <87r6m7mjfb.fsf@gmx.de> References: <87wsw4u21m.fsf@gmx.de> <87ps1vh85n.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1187026130 2835 80.91.229.12 (13 Aug 2007 17:28:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 13 Aug 2007 17:28:50 +0000 (UTC) Cc: bugs@gnus.org, ding@gnus.org To: Katsumi Yamaoka Original-X-From: ding-owner+M13555@lists.math.uh.edu Mon Aug 13 19:28:46 2007 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1IKdiZ-00064m-Ax for ding-account@gmane.org; Mon, 13 Aug 2007 19:28:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1IKdhn-0004eX-VJ; Mon, 13 Aug 2007 12:27:52 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1IKdhm-0004eK-KF for ding@lists.math.uh.edu; Mon, 13 Aug 2007 12:27:50 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1IKdhg-0006sX-Nj for ding@lists.math.uh.edu; Mon, 13 Aug 2007 12:27:50 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by quimby.gnus.org with smtp (Exim 3.35 #1 (Debian)) id 1IKdhf-0006LN-00 for ; Mon, 13 Aug 2007 19:27:43 +0200 Original-Received: (qmail invoked by alias); 13 Aug 2007 17:27:12 -0000 Original-Received: from unknown (EHLO debian) [84.134.122.240] by mail.gmx.net (mp052) with SMTP; 13 Aug 2007 19:27:12 +0200 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX1/fEJQ9D1vflIS6VlHk25LbUTT7fPVv8Dm9UT+gMg 1/NURM12id1l41 In-Reply-To: (Katsumi Yamaoka's message of "Mon\, 13 Aug 2007 20\:44\:37 +0900") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:65045 Archived-At: Katsumi Yamaoka writes: > I found the other things to be fixed. Could you try the patch > (for Gnus v5.11) attached below? It still might not be complete, > so I set the default value of the new variable > > gnus-maximum-newsgroup > > to nil so that it might not change the present behavior of Gnus. > Now I have > > (setq gnus-maximum-newsgroup 100000) > > and Gnus runs smoothly with be.politics and comp.os.linux.misc on > news.motzarella.org (though the value 100000 is too much for those > groups, see a note in the docstring of the variable). I applied your patch and set gnus-maximum-newsgroup to 30000. Here's the state of the Emacs process when doing that: USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND sven 3042 0.3 4.3 56568 44776 ? R 15:01 0:54 emacs Then I browsed news.motzarella.org and opened comp.os.linux.misc, fetching the headers, and Emacs' state was USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND sven 3042 0.4 4.7 60432 49188 ? S 15:01 1:03 emacs That seems to be OK, I think. Cheers, Sven