From: Katsumi Yamaoka <yamaoka@jpl.org>
To: Sven Joachim <svenjoac@gmx.de>
Cc: bugs@gnus.org, ding@gnus.org
Subject: Re: Huge memory consumption on accessing large newsgroup
Date: Fri, 10 Aug 2007 20:39:34 +0900 [thread overview]
Message-ID: <b4mvebnty89.fsf@jpl.org> (raw)
In-Reply-To: <b4m3ayriwp1.fsf@jpl.org>
[-- Attachment #1: Type: text/plain, Size: 439 bytes --]
>>>>> Katsumi Yamaoka wrote:
> I think the possible solution is to narrow the range into the
> one with which Emacs can work lightly. Here it is:
> (defadvice gnus-uncompress-range (before narrow-range (ranges) activate)
> "Narrow the range if it is unreasonably wide."
> (setcar ranges (max (car ranges) (- (cdr ranges) 10000))))
I overlooked that the argument of this function can be complicated.
Try the following one instead:
[-- Attachment #2: Type: application/emacs-lisp, Size: 719 bytes --]
[-- Attachment #3: Type: text/plain, Size: 96 bytes --]
> The 10000 will probably need to be a customizable variable. I'm
> going to do it next week.
next prev parent reply other threads:[~2007-08-10 11:39 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87wsw4u21m.fsf@gmx.de>
2007-08-10 9:08 ` Katsumi Yamaoka
2007-08-10 11:39 ` Katsumi Yamaoka [this message]
2007-08-10 12:43 ` Sven Joachim
2007-08-13 11:44 ` Katsumi Yamaoka
2007-08-13 17:30 ` Sven Joachim
2007-08-14 11:46 ` Katsumi Yamaoka
2007-09-13 10:27 ` Katsumi Yamaoka
2007-08-10 12:42 ` Sven Joachim
2007-09-29 21:04 ` Gaute Strokkenes
2007-09-30 22:11 ` Ted Zlatanov
2007-10-01 0:29 ` Katsumi Yamaoka
2007-10-01 1:04 ` Daniel Pittman
2007-10-02 2:13 ` Ted Zlatanov
2007-10-02 3:23 ` Daniel Pittman
2007-10-02 11:11 ` Ted Zlatanov
2007-10-02 12:17 ` Daniel Pittman
2007-10-02 16:08 ` Ted Zlatanov
2007-10-03 0:19 ` Daniel Pittman
2007-10-02 13:33 ` Daniel Pittman
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=b4mvebnty89.fsf@jpl.org \
--to=yamaoka@jpl.org \
--cc=bugs@gnus.org \
--cc=ding@gnus.org \
--cc=svenjoac@gmx.de \
/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).