GNU bug report logs - #51763
27.2; Displaying many images take all memory

Previous Next

Package: emacs;

Reported by: Thierry Volpiatto <thievol <at> posteo.net>

Date: Thu, 11 Nov 2021 09:07:02 UTC

Severity: normal

Found in version 27.2

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: Thierry Volpiatto <thievol <at> posteo.net>, 51763 <at> debbugs.gnu.org
Subject: bug#51763: 27.2; Displaying many images take all memory
Date: Fri, 12 Nov 2021 04:30:18 +0100
Stefan Kangas <stefan <at> marxist.se> writes:

> Should we perhaps also add a max cache size in addition to the
> `image-cache-eviction-delay'?  I find it easy to get memory usage up to
> several GiB when viewing large images, and all that happens in less than
> five minutes.  (That would be a separate feature request though, as this
> bug is about the memory usage regression introduced in Image-Dired.)

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...

> Relatedly, image-mode could be smarter, and evict images manually from
> the cache.  Let's say that when flipping through images in a directory,
> we only keep the previous N images (where N is, like, 5 or something).

Yes, that sounds like a good idea.

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




This bug report was last modified 3 years and 218 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.