From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: jbranso--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#43389: 28.0.50; Emacs memory leaks Date: Sun, 20 Sep 2020 20:08:17 +0000 Message-ID: References: <831riz5wq6.fsf@gnu.org> <87r1r5428d.fsf@web.de> <87mu1sry72.fsf@mail.linkov.net> <875z8fc224.fsf@web.de> <20200915175418.GV20869@maokai> <838sda98jm.fsf@gnu.org> <20200915211209.GW20869@maokai> <83pn6l7ozj.fsf@gnu.org> <20200917204704.GA20217@maokai> <87ft7gjc9w.fsf@dismail.de> <83d02j60a9.fsf@gnu.org> Reply-To: jbranso@dismail.de Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10656"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 43389@debbugs.gnu.org To: "Eli Zaretskii" , "Robert Pluim" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 20 22:09:14 2020 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 1kK5e5-0002ag-Kz for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Sep 2020 22:09:13 +0200 Original-Received: from localhost ([::1]:38754 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kK5e4-0008OE-AH for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Sep 2020 16:09:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44832) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kK5du-0008O1-Q4 for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2020 16:09:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41206) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kK5du-0001bS-GT for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2020 16:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kK5du-0002Wo-Aq for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2020 16:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: jbranso@dismail.de Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Sep 2020 20:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43389 X-GNU-PR-Package: emacs Original-Received: via spool by 43389-submit@debbugs.gnu.org id=B43389.16006325079675 (code B ref 43389); Sun, 20 Sep 2020 20:09:02 +0000 Original-Received: (at 43389) by debbugs.gnu.org; 20 Sep 2020 20:08:27 +0000 Original-Received: from localhost ([127.0.0.1]:52752 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kK5dL-0002Vz-Es for submit@debbugs.gnu.org; Sun, 20 Sep 2020 16:08:27 -0400 Original-Received: from mx1.dismail.de ([78.46.223.134]:30811) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kK5dI-0002Vi-FY for 43389@debbugs.gnu.org; Sun, 20 Sep 2020 16:08:25 -0400 Original-Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 8f1ce196; Sun, 20 Sep 2020 22:08:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h= mime-version:date:content-type:content-transfer-encoding:from :message-id:subject:to:cc:in-reply-to:references; s=20190914; bh=WD0qgObU4N/dTZpCugSUrlxk/afLcF94xTAV+irSw44=; b=AX74b4bFS14o g+Zwqe5WwOk93IxEDlcQdxcS9b7lyJwk9GKfcANtMHgDmK6VnuGvfE70yx5MxVsY ZxahjY1/ym3eSDtq97rVjp/Vl4K8nT3fyt+PMnKUlslIfdQzjJbJrfgw3p05enmY /CmplNGDD4snKF6+wmO343y3QGZ5G9+5+GP7Md68x7V/q8LjNyAR53sAfPN4wbgG VPhf2HBSvlxzwy6FJU2r4VdouAT/wAL9tFQxzqv5MtEX0VMnU0wpNID8Q1ezOjw4 hdDHW+HTIAHRdOKjCa2RPLbA6uVsEsh7Mstv1q48G83q+eOA5CZozjYdKrZ0niEK rTsqoU6q2A== Original-Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 27ae586d; Sun, 20 Sep 2020 22:08:17 +0200 (CEST) Original-Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 5b0f0c26; Sun, 20 Sep 2020 22:08:17 +0200 (CEST) Original-Received: by dismail.de (OpenSMTPD) with ESMTPSA id b40e79d0 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Sun, 20 Sep 2020 22:08:17 +0200 (CEST) X-Mailer: RainLoop/1.14.0a In-Reply-To: <831riz5wq6.fsf@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:188540 Archived-At: Maybe I spoke a little too soon. I just saw two related bug reports and t= hought I would connect them. Ludo actually closed the bug in Guix System.= He confirmed that for him, helm seemed to be the problem. =0A=0ASeptem= ber 18, 2020 4:12 AM, "Eli Zaretskii" wrote:=0A=0A>> From:= Robert Pluim =0A>> Cc: Joshua Branson , 43389@debbugs.gnu.org=0A>> Date: Fri, 18 Sep 2020 09:53:59 +0200=0A= >> =0A>> Eli> But if it's due to helm, why doesn't the huge memory usage = show in the=0A>> Eli> report produced by GC? That report should show all = the Lisp object=0A>> Eli> that we allocate and manage, no? Where does hel= m-ff-cache keeps those=0A>> Eli> "candidates"? (And what is this cache, i= f someone could be kind=0A>> Eli> enough to describe it?)=0A>> =0A>> It= =CA=BCs a hash table. It caches directory contents, as far as I can tell.= =0A> =0A> Then its memory usage should be part of the GC report, no?=0A> = =0A> I guess, if this helm feature is really the culprit, then the growth= =0A> of memory footprint is not due to the hash-table itself, but to=0A> = something else, which is not a Lisp object and gets allocated via=0A> dir= ect calls to malloc or something?