GNU bug report logs - #61763
30.0.50; Image Cache Size growth

Previous Next

Package: emacs;

Reported by: Manuel Giraud <manuel <at> ledu-giraud.fr>

Date: Fri, 24 Feb 2023 17:01:02 UTC

Severity: normal

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #34 received at 61763-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Manuel Giraud <manuel <at> ledu-giraud.fr>
Cc: 61763-done <at> debbugs.gnu.org
Subject: Re: bug#61763: 30.0.50; Image Cache Size growth
Date: Sat, 25 Feb 2023 15:24:10 +0200
> From: Manuel Giraud <manuel <at> ledu-giraud.fr>
> Cc: 61763 <at> debbugs.gnu.org
> Date: Sat, 25 Feb 2023 13:19:20 +0100
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> [...]
> 
> >> Maybe we should have parameter (maybe a custom) that limit this
> >> growth up to a certain point and then start uncaching older images.
> >> WDYT?
> >
> > We cannot uncache an image that is being displayed in some window.
> > Doing so would immediately cause a crash on the next redisplay cycle.
> > So lowering the eviction delay is the mechanism you should use,
> > assuming it helps in your use case.  Did you try that, and if you did,
> > did it help?  For how much time do you display each image before you
> > discard its buffer or delete its window?
> 
> I've try with image-cache-eviction-delay at 30 seconds and I never
> exceed 700MiB as Image Cache and never hit a "Memory exhausted".  So
> this is solved for this use case.  Thanks for your patience Eli!

Thanks, I'm therefore closing this bug.




This bug report was last modified 2 years and 90 days ago.

Previous Next


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