From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#33275: 27.0.50; Image cache pruning Date: Mon, 05 Nov 2018 17:18:47 +0100 Message-ID: References: <83va5bcxxu.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1541434780 25169 195.159.176.226 (5 Nov 2018 16:19:40 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 5 Nov 2018 16:19:40 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 33275@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 05 17:19:36 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gJhbC-0006ON-MR for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Nov 2018 17:19:34 +0100 Original-Received: from localhost ([::1]:36036 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJhdI-0007Cn-PV for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Nov 2018 11:21:44 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41446) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJhah-00051N-QE for bug-gnu-emacs@gnu.org; Mon, 05 Nov 2018 11:19:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gJhag-0002rB-Tu for bug-gnu-emacs@gnu.org; Mon, 05 Nov 2018 11:19:03 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59451) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gJhag-0002qW-Lr for bug-gnu-emacs@gnu.org; Mon, 05 Nov 2018 11:19:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gJhag-0004kW-Ai for bug-gnu-emacs@gnu.org; Mon, 05 Nov 2018 11:19:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Nov 2018 16:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33275 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33275-submit@debbugs.gnu.org id=B33275.154143474118249 (code B ref 33275); Mon, 05 Nov 2018 16:19:02 +0000 Original-Received: (at 33275) by debbugs.gnu.org; 5 Nov 2018 16:19:01 +0000 Original-Received: from localhost ([127.0.0.1]:35476 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gJhae-0004kH-SH for submit@debbugs.gnu.org; Mon, 05 Nov 2018 11:19:01 -0500 Original-Received: from ryder.getmail.no ([84.210.184.14]:53694) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gJhac-0004k0-5q for 33275@debbugs.gnu.org; Mon, 05 Nov 2018 11:18:59 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by ryder.getmail.no (Postfix) with ESMTP id 7996362C8A; Mon, 5 Nov 2018 17:18:48 +0100 (CET) Original-Received: from ryder.getmail.no ([127.0.0.1]) by localhost (ryder.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id oGvfj7Lv1MK3; Mon, 5 Nov 2018 17:18:48 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ryder.getmail.no (Postfix) with ESMTP id E386562C89; Mon, 5 Nov 2018 17:18:47 +0100 (CET) X-Virus-Scanned: amavisd-new at ryder.getmail.no Original-Received: from ryder.getmail.no ([127.0.0.1]) by localhost (ryder.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id BinrjQqDg4EU; Mon, 5 Nov 2018 17:18:47 +0100 (CET) Original-Received: from stories (cm-84.212.221.165.getinternet.no [84.212.221.165]) by ryder.getmail.no (Postfix) with ESMTPSA id B931062C8A; Mon, 5 Nov 2018 17:18:47 +0100 (CET) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEVYQhQsJQN4TimCbkLl 66uAWDOunm1MQAQZAAACX0lEQVQ4jW2TTXObMBCGVyL2WaSTnAkMOWNv0bmdaHR2pCpnB+H9/z+h rwTJtE2XGZt5n/0WIre6/xp5kYq8OHGrX/HvBD8EbXX/CSvA+46aLwCZ5HwxdPcvQFIhyl9CECFL 9+jcj79kX8Gk0MnPP1T7LBWcCF2+f+qykC015OX0za/u+um/ZrsV96cjXl42b+8t81qB87VVDxXv 4uPQyAdAUy5HHhg20YGSXR295Vk18NRxbmbIHVEoPnRp+AnD+cPMfI5TRyN1zDHAgxWKvzfTpWfu wtTrmpJIxzL4iYapF01gTdFHIsSiq4n6Xsuko5VqTMrQULo9d30jUyO7ZTKGfpXRFuoauX4CIUOH Cm6BjpJ3kAFaGlMFke5kMVW3IKT0mN4A5tgdZbnv2X6k0iml7+5ljop4MsE64Vr8vgdIawZo29Yc cW6HLPmG9gtIMcUhBaJjpgERFmCT5xR1WYQ2LdHB4hTPfQCYUxpMPxOyUbHbleYQxgLCyAOqGFJ4 Wuy2TyFFLvkkK+iQSamSL5VU0FkWAAOdVKsVHUoNRo0o15KqZGtNDxBCyRPGKJcySTFVKun+UgcZ rVxqbQCNIERUEHpeSq94Si4UekhdBZGX6m1a1Ddo6yE9jdtSsrCq87UKD+Z43QALz+hXGV2YIZ3i DuypLqTUMTjw5QPES+kUo0MuK1jSZnN8qjOYtmtLfbpt7vwJJnnFF2Ipl10BML9uYz9K7kwjJDuY 4w7ucx6SLWBLldJpj7C+S9bvIHHiHWjnzsy4UTecd1m638Ezbhe+NMInuF/X9w3gAma27jc2rfja fW4ALQAAAABJRU5ErkJggg== In-Reply-To: <83va5bcxxu.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 05 Nov 2018 18:05:01 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:152058 Archived-At: Eli Zaretskii 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