From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.bugs Subject: bug#46326: 27.1.50; Excessive memory allocations with minibuffer-with-setup-hook Date: Fri, 23 Apr 2021 22:34:06 +0200 Message-ID: <87tunwg2pt.fsf@miha-pc> References: <62c490ed0d8d24d8b259ac1ba55ea79e@mendler.net> <781821e3-2b06-e946-6616-806f5a83540d@daniel-mendler.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28053"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 46326@debbugs.gnu.org To: Daniel Mendler , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 23 22:30:29 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 1la2RZ-0007Bt-HG for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 23 Apr 2021 22:30:29 +0200 Original-Received: from localhost ([::1]:56000 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1la2RY-0000bv-Eg for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 23 Apr 2021 16:30:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51966) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1la2R9-0000be-B6 for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2021 16:30:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55671) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1la2R9-0001te-3i for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2021 16:30:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1la2R8-0007bZ-Vl for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2021 16:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Apr 2021 20:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46326 X-GNU-PR-Package: emacs Original-Received: via spool by 46326-submit@debbugs.gnu.org id=B46326.161920975429135 (code B ref 46326); Fri, 23 Apr 2021 20:30:02 +0000 Original-Received: (at 46326) by debbugs.gnu.org; 23 Apr 2021 20:29:14 +0000 Original-Received: from localhost ([127.0.0.1]:38981 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1la2QM-0007Zr-4i for submit@debbugs.gnu.org; Fri, 23 Apr 2021 16:29:14 -0400 Original-Received: from chiru.no ([142.4.209.132]:52030) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1la2QK-0007Zi-7A for 46326@debbugs.gnu.org; Fri, 23 Apr 2021 16:29:12 -0400 Original-Received: from localhost (BSN-77-156-43.static.siol.net [193.77.156.43]) by chiru.no (Postfix) with ESMTPSA id E2CE0128001C; Fri, 23 Apr 2021 20:29:10 +0000 (UTC) In-Reply-To: <781821e3-2b06-e946-6616-806f5a83540d@daniel-mendler.de> 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:204758 Archived-At: Daniel Mendler writes: > For me it seems to fix the issue. @jakanakaevangeli, can you confirm? Yup, confirmed. The crucial part this patch does to fix this issue is removing depth info to avoid leaks, which is also directly related to bug46414.