From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#56546: 29.0.50; unbounded RAM comsumption when displaying images Date: Thu, 14 Jul 2022 20:26:09 +0300 Message-ID: <83zghbsj0u.fsf@gnu.org> References: <87cze84gst.fsf@mail.jao.io> <874jzjbpg7.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2420"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mail@jao.io, 56546@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 14 19:27:16 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oC2cO-0000VC-5K for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Jul 2022 19:27:16 +0200 Original-Received: from localhost ([::1]:44084 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oC2cN-0002nP-0m for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Jul 2022 13:27:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50518) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oC2cC-0002bc-I2 for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2022 13:27:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40992) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oC2cA-0006fo-8Z for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2022 13:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oC2c9-00028P-Su for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2022 13:27:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Jul 2022 17:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56546 X-GNU-PR-Package: emacs Original-Received: via spool by 56546-submit@debbugs.gnu.org id=B56546.16578195868161 (code B ref 56546); Thu, 14 Jul 2022 17:27:01 +0000 Original-Received: (at 56546) by debbugs.gnu.org; 14 Jul 2022 17:26:26 +0000 Original-Received: from localhost ([127.0.0.1]:38751 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oC2ba-00027Z-2V for submit@debbugs.gnu.org; Thu, 14 Jul 2022 13:26:26 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oC2bU-00027F-Ve for 56546@debbugs.gnu.org; Thu, 14 Jul 2022 13:26:24 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47560) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oC2bP-0006bE-Ho; Thu, 14 Jul 2022 13:26:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=GqFPchFICB+t3gp89HPrYpkS1wAgSdFcEijZ8iOPUFw=; b=mJZxgLKEN4V3 pZARvSeQ+EwAkZvc72nfp06y0pmGo54G6R1X27LkPMusO/y6hdhy8CqtNY+x307QiWrnzPXqzaGM1 YTKJ3gS49aorhkOXcxQrd7d0x979leGF4LiEu5h5A1MVOS6bKmraFyKb4KCTMms787DYH9eOC5YmD Gmd7d5Fx4JvHZ0+BMiXWToqZOLg/BwJdidozPTbHjvCEI2Uc7Tea5/gLUpX3+aUU1yPQxUk+p+MGX ziMpn7XPVQooI6+qC5WUdUXYxvh0Cb39fMd1ZnjsFTY9xLygpGCA3195ZD9NjA+P8jp5C7SwPkclk 3SjBfqvBdODKfZiCwgLGsw==; Original-Received: from [87.69.77.57] (port=4280 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oC2bO-0001w1-W8; Thu, 14 Jul 2022 13:26:15 -0400 In-Reply-To: <874jzjbpg7.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 14 Jul 2022 18:59:20 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:237015 Archived-At: > Cc: 56546@debbugs.gnu.org > From: Lars Ingebrigtsen > Date: Thu, 14 Jul 2022 18:59:20 +0200 > > "Jose A. Ortega Ruiz" writes: > > > - emacs -Q > > - M-x eww RET https://xenodium.com/emacs-zones-to-lift-you-up/ > > - RAM consumption grows to ~600Mb > > - R (redisplay page): RAM grows to ~1100Mb > > - R (redisplay page): RAM grows to ~1752Mb > > - R (redisplay page): RAM grows to ~2222Mb > > - rinse and repeat: RAM never goes down > > - (image-cache-size) reports a modest 82Mb > > - Kill buffer: high RAM consumption is still at its maximum, even > > after (image-cache-size) goes to 0 > > I think this should all be fixed on the current trunk now -- can you > check? FWIW, on my system the pattern of the memory footprint didn't change after this. I still see the footprint going up after each "M-x eww", and killing the buffer and invoking clear-image-cache causes Emacs to go back to somewhat higher than its original size.