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:35:51 +0100 Message-ID: References: <83va5bcxxu.fsf@gnu.org> <83sh0fcx2r.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1541435716 2794 195.159.176.226 (5 Nov 2018 16:35:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 5 Nov 2018 16:35:16 +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:35:12 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 1gJhqK-0000eb-AP for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Nov 2018 17:35:12 +0100 Original-Received: from localhost ([::1]:36145 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJhsQ-0006C7-Or for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Nov 2018 11:37:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49577) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJhsC-00067h-Fy for bug-gnu-emacs@gnu.org; Mon, 05 Nov 2018 11:37:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gJhs7-0000ps-2E for bug-gnu-emacs@gnu.org; Mon, 05 Nov 2018 11:37:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59482) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gJhs6-0000nW-G8 for bug-gnu-emacs@gnu.org; Mon, 05 Nov 2018 11:37:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gJhs6-0005CN-01 for bug-gnu-emacs@gnu.org; Mon, 05 Nov 2018 11:37: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:37:01 +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.154143577019922 (code B ref 33275); Mon, 05 Nov 2018 16:37:01 +0000 Original-Received: (at 33275) by debbugs.gnu.org; 5 Nov 2018 16:36:10 +0000 Original-Received: from localhost ([127.0.0.1]:35506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gJhrC-0005BD-GD for submit@debbugs.gnu.org; Mon, 05 Nov 2018 11:36:10 -0500 Original-Received: from bouvier.getmail.no ([84.210.184.8]:57510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gJhr8-0005Af-1U for 33275@debbugs.gnu.org; Mon, 05 Nov 2018 11:36:05 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by bouvier.getmail.no (Postfix) with ESMTP id 3D7F24002D; Mon, 5 Nov 2018 17:35:52 +0100 (CET) Original-Received: from bouvier.getmail.no ([127.0.0.1]) by localhost (bouvier.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id V3dYAjJcGtdJ; Mon, 5 Nov 2018 17:35:51 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by bouvier.getmail.no (Postfix) with ESMTP id BF5A74002E; Mon, 5 Nov 2018 17:35:51 +0100 (CET) X-Virus-Scanned: amavisd-new at bouvier.get.c.bitbit.net Original-Received: from bouvier.getmail.no ([127.0.0.1]) by localhost (bouvier.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Ftv9EFfbjJik; Mon, 5 Nov 2018 17:35:51 +0100 (CET) Original-Received: from stories (cm-84.212.221.165.getinternet.no [84.212.221.165]) by bouvier.getmail.no (Postfix) with ESMTPSA id 8BC2D4002D; Mon, 5 Nov 2018 17:35:51 +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: <83sh0fcx2r.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 05 Nov 2018 18:23:40 +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:152063 Archived-At: Eli Zaretskii writes: >> From: Lars Ingebrigtsen >> Cc: 33275@debbugs.gnu.org >> Date: Mon, 05 Nov 2018 17:18:47 +0100 >> >> 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. > > What was the sum of sizes of all the files you used to reproduce the > problem? I think it's sufficient to run Emacs over 2GB worth of .png files to make Emacs grow to 16GB (which will kill it on this laptop). But it'll vary on how well-compressed the .png files are, I guess, because I think Emacs caches the, er, pixmaps and not the files? I don't remember. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no