[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#51763: 27.2; Displaying many images take all memory
From: |
Lars Ingebrigtsen |
Subject: |
bug#51763: 27.2; Displaying many images take all memory |
Date: |
Fri, 12 Nov 2021 07:24:42 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
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