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#48884: 28.0.50; Possible memory leak in window-text-pixel-size (bidi cache) Date: Mon, 07 Jun 2021 15:04:28 +0300 Message-ID: <83im2phodv.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24167"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 48884@debbugs.gnu.org To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 08 02:14:33 2021 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 1lqPO4-000687-TU for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Jun 2021 02:14:32 +0200 Original-Received: from localhost ([::1]:57196 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqPO3-0004Xd-W9 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 07 Jun 2021 20:14:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57184) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqPGt-0001kO-Sb for bug-gnu-emacs@gnu.org; Mon, 07 Jun 2021 20:07:09 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45355) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqPGo-0003Ei-Nb for bug-gnu-emacs@gnu.org; Mon, 07 Jun 2021 20:07:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lqPGo-0007SC-J5 for bug-gnu-emacs@gnu.org; Mon, 07 Jun 2021 20:07: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: Tue, 08 Jun 2021 00:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48884 X-GNU-PR-Package: emacs Original-Received: via spool by 48884-submit@debbugs.gnu.org id=B48884.162311076628581 (code B ref 48884); Tue, 08 Jun 2021 00:07:02 +0000 Original-Received: (at 48884) by debbugs.gnu.org; 8 Jun 2021 00:06:06 +0000 Original-Received: from localhost ([127.0.0.1]:56899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqPFu-0007Qv-5a for submit@debbugs.gnu.org; Mon, 07 Jun 2021 20:06:06 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34320) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqPFs-0007Q5-CL for 48884@debbugs.gnu.org; Mon, 07 Jun 2021 20:06:04 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39500) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqPFn-0001qJ-5Z; Mon, 07 Jun 2021 20:05:59 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3962 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 1lqDzd-0001Ra-M9; Mon, 07 Jun 2021 08:04:34 -0400 In-Reply-To: (bug-gnu-emacs@gnu.org) 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:208205 Archived-At: > Date: Sun, 06 Jun 2021 23:38:45 +0200 > From: Daniel Martín via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > > I'm investigating how Emacs handles memory and I think I've found a > memory leak in window-text-pixel-size. This function is called by > minibuffer completion packages like selectrum or vertico, so even if > each leak is around 7,5 KB per minibuffer interaction on my system, > users interact a lot with the minibuffer in a typical Emacs session, so > the amount of leaked memory may be substantial if an Emacs session spans > weeks. > > I don't have a minimum program to reproduce it yet, but here's what I see > when I trace the code when I use one of the aforementioned packages: You are right, should be fixed now. Thanks.