Gnus development mailing list
 help / color / mirror / Atom feed
From: Christoph Groth <christoph@grothesque.org>
To: ding@gnus.org
Subject: Re: Memory exhausted when viewing HTML messages
Date: Wed, 03 Sep 2014 22:50:13 +0200	[thread overview]
Message-ID: <87r3zsfmyi.fsf@grothesque.org> (raw)
In-Reply-To: <87lhq0lm8k.fsf@topper.koldfront.dk>

Adam Sjøgren wrote:

> Christoph Groth <christoph@grothesque.org> writes:
>
>> I'm using Gnus 5.13 with Emacs 24.4.50. When 
>> mm-text-html-renderer is
>> set to its default value shr, I often get the messasge “Memory
>> exhausted--use C-x s then exit and restart Emacs” when opening 
>> some
>> HTML messages. Is this issue known? If not, any suggestions how 
>> to
>> debug it?
>
> I haven't heard it mentioned before.
>
> I guess an example of an email where this happens would help 
> debugging
> it - if you have one without any sensitive information that you 
> can
> share?

I tried and couldn’t reproduce the problem using “emacs -q”, so 
lacking
other tools I turned to bisecting my ~/.emacs.  It turned out that 
the
problem is triggered by me setting fill-column to 
most-positive-fixnum
in gnus-article-mode-hook.

“shr” seems to allocate buffers that are proportional to 
fill-column.

I set fill-column to infinity in a function that also enables
visual-line-mode, adaptive-wrap-prefix-mode and 
variable-pitch-mode.
This allows to use “W w” (gnus-article-fill-cited-article) to wash 
away
hard line breaks from an article so that the text reflows 
nicely. (I
happen to like this – consider how œ and æ look with a fixed-width
font.)

Christoph




      reply	other threads:[~2014-09-03 20:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-03  7:27 Christoph Groth
2014-09-03 16:09 ` Adam Sjøgren
2014-09-03 20:50   ` Christoph Groth [this message]

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=87r3zsfmyi.fsf@grothesque.org \
    --to=christoph@grothesque.org \
    --cc=ding@gnus.org \
    /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).