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 13:10:04 +0300 Message-ID: <83k08gt37n.fsf@gnu.org> References: <87cze84gst.fsf@mail.jao.io> <8335f4uu17.fsf@gnu.org> <83zghctekc.fsf@gnu.org> <87r12onkhz.fsf@gnus.org> <83leswt5q1.fsf@gnu.org> <87mtdcnj7u.fsf@gnus.org> <87h73kau8j.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20006"; 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 12:11:20 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 1oBvoT-0004z8-KZ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Jul 2022 12:11:17 +0200 Original-Received: from localhost ([::1]:34340 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oBvoS-0007l2-GD for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Jul 2022 06:11:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59660) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBvoE-0007jC-NT for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2022 06:11:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55023) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oBvoE-0004sp-EB for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2022 06:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oBvoE-0003Ne-AT for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2022 06:11:02 -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 10:11:02 +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.165779342212883 (code B ref 56546); Thu, 14 Jul 2022 10:11:02 +0000 Original-Received: (at 56546) by debbugs.gnu.org; 14 Jul 2022 10:10:22 +0000 Original-Received: from localhost ([127.0.0.1]:48914 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBvna-0003Lj-HZ for submit@debbugs.gnu.org; Thu, 14 Jul 2022 06:10:22 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBvnW-0003LV-NT for 56546@debbugs.gnu.org; Thu, 14 Jul 2022 06:10:21 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40772) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBvnQ-0004er-TA; Thu, 14 Jul 2022 06:10:12 -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=etkWNagSnNVDJOkU9jhEavHa7sxXTRof84NkREYsHWo=; b=SabgHTBNB/vH Y41vTEgNYogA2f9rUXlvWo4g88iqrgyhziCzRn38uzsIFcm7wG1H66wX9ZVc1I1gJHlKdOxm/QwuG nuvVHpG7pmA3UzwJHM1RXB1v0zl2qetnnYT4/+p+oQol5PutAqH4utAKOFSjosmzuGA0MdLkqku54 2OQMQMDhDq5UWy6RG91TYTiLTxtfYUUR4Wd8csjg2cOY9N84hKvnXXGfzZy5qS3jLhux9qaD6yude FuvCtxeHeMa1BKRaEoYknhppZvFco2kyU7Q3vIVbSpNJD9Uh8oa/mpAC928nrC3AuZYZhUcEvOD7d PiSLH4awpd/EudRLHzAHKw==; Original-Received: from [87.69.77.57] (port=1431 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 1oBvnO-00026h-O9; Thu, 14 Jul 2022 06:10:12 -0400 In-Reply-To: <87h73kau8j.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 14 Jul 2022 12:01:16 +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:236977 Archived-At: > From: Lars Ingebrigtsen > Cc: mail@jao.io, 56546@debbugs.gnu.org > Date: Thu, 14 Jul 2022 12:01:16 +0200 > > Lars Ingebrigtsen writes: > > > But we can at least include the size of the main data blob (e.g., the > > .webp data itself); we know the size of that for all the anim caches. > > No, not even that -- the cache is pretty opaque in general. Hm... Don't we allocate memory for the cached stuff? If so, we could count the bytes there, and record them in the cache itself.