From: Stefan Kangas <stefan@marxist.se>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: Thierry Volpiatto <thievol@posteo.net>, 51763@debbugs.gnu.org
Subject: bug#51763: 27.2; Displaying many images take all memory
Date: Thu, 11 Nov 2021 20:03:38 -0800 [thread overview]
Message-ID: <CADwFkm=uFZoh7xhxFPMUZYpw+kVogNgte76T6aisk5C_oWKWZA@mail.gmail.com> (raw)
In-Reply-To: <87sfw22gqd.fsf@gnus.org>
Lars Ingebrigtsen <larsi@gnus.org> 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'.
next prev parent reply other threads:[~2021-11-12 4:03 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 [this message]
2021-11-12 6:24 ` Lars Ingebrigtsen
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='CADwFkm=uFZoh7xhxFPMUZYpw+kVogNgte76T6aisk5C_oWKWZA@mail.gmail.com' \
--to=stefan@marxist.se \
--cc=51763@debbugs.gnu.org \
--cc=larsi@gnus.org \
--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.