GNU bug report logs -
#51763
27.2; Displaying many images take all memory
Previous Next
Full log
View this message in rfc822 format
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.