all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Stefan Kangas <stefan@marxist.se>
Cc: Thierry Volpiatto <thievol@posteo.net>, 51763@debbugs.gnu.org
Subject: bug#51763: 27.2; Displaying many images take all memory
Date: Fri, 12 Nov 2021 07:24:42 +0100	[thread overview]
Message-ID: <871r3luc0l.fsf@gnus.org> (raw)
In-Reply-To: <CADwFkm=uFZoh7xhxFPMUZYpw+kVogNgte76T6aisk5C_oWKWZA@mail.gmail.com> (Stefan Kangas's message of "Thu, 11 Nov 2021 20:03:38 -0800")

Stefan Kangas <stefan@marxist.se> writes:

>> The question is then how to tune it -- if it's mistuned, it may result
>> in catastrophic thrashing if you're showing a buffer with a gazillion
>> images...
>
> I don't think we evict images from the cache if they are being displayed
> though, do we?  I imagine that we would evict them if they haven't been
> displayed for more than N seconds *and* we are above the max memory
> threshold.  Where N is some new variable or constant smaller than
> 'image-cache-eviction-delay'.

Right, that could work, I think...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2021-11-12  6:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-11  9:00 bug#51763: 27.2; Displaying many images take all memory Thierry Volpiatto
2021-11-11  9:50 ` Stefan Kangas
2021-11-11 11:22   ` Thierry Volpiatto
2021-11-11 17:33     ` Stefan Kangas
2021-11-11 18:11       ` Thierry Volpiatto
2021-11-11 12:39   ` Lars Ingebrigtsen
2021-11-11 17:33     ` Stefan Kangas
2021-11-12  3:30       ` Lars Ingebrigtsen
2021-11-12  4:03         ` Stefan Kangas
2021-11-12  6:24           ` Lars Ingebrigtsen [this message]
2021-11-13  7:32       ` Thierry Volpiatto

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=871r3luc0l.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=51763@debbugs.gnu.org \
    --cc=stefan@marxist.se \
    --cc=thievol@posteo.net \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.