Subject: Re: bug#51763: 27.2; Displaying many images take all memory

From: Lars Ingebrigtsen <[email-masked]>
Date: Thu, 11 Nov 2021 13:39:54 +0100

Stefan Kangas <[email-masked]> writes:

> See this comment in `image--scale-within-limits-p':
>
>             ;; Note: `image-size' looks up and thus caches the
>             ;; untransformed image.  There's no easy way to
>             ;; prevent that.
>
> and the relevant code in image.c that verifies this.

We've previously discussed adding a parameter to image-size to disable
this caching.  Perhaps we should just do that?

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