bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#33275: 27.0.50; Image cache pruning


From: Lars Ingebrigtsen
Subject: bug#33275: 27.0.50; Image cache pruning
Date: Mon, 05 Nov 2018 17:18:47 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> I'm okay with saying something about this in the docs, but frankly,
> you could do the same in any number of ways, like by visiting a file
> whose size is larger than the VM you allow your system to use, right?
> So there's a potential for causing such problems in many different
> ways, and warning about that only in the doc string of image-size
> seems insufficient, to say the least...

If you visit a, say, 16GB file, then, indeed, it's expected that Emacs
grows to 16GB (or more).  But if you're just calling `image-size' on a
bunch of files (each of which is a lot smaller than that), it's rather
unexpected that that's going to blow up Emacs.

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]