GNU bug report logs - #33275
27.0.50; Image cache pruning

Previous Next

Package: emacs;

Reported by: Lars Ingebrigtsen <larsi <at> gnus.org>

Date: Mon, 5 Nov 2018 14:09:02 UTC

Severity: normal

Tags: fixed

Found in version 27.0.50

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: larsi <at> gnus.org
Cc: 33275 <at> debbugs.gnu.org
Subject: bug#33275: 27.0.50; Image cache pruning
Date: Mon, 05 Nov 2018 20:35:21 +0200
> Date: Mon, 05 Nov 2018 20:14:27 +0200
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 33275 <at> debbugs.gnu.org
> 
> I don't see why we should tweak our cache management for the benefit
> of exceptional use case.  Last time we did it (with fonts) we are
> still leaking the wounds.
        ^^^^^^^
I meant "licking", of course ;-)

> I think it should be enough to catch excess memory usage and signal an
> error.  I hope this is possible.

I guess we lost the ability to do that automatically when we stopped
using vm-limit.c on modern platforms?

We still could use the memory limit calculated by get_lim_data in
strategic places, like cache_image, to catch situations where the
cache size exceeds some fraction of what ret_lim_data returns.  Would
that work?




This bug report was last modified 5 years and 239 days ago.

Previous Next


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