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#43389: 28.0.50; Emacs memory leaks Date: Tue, 10 Nov 2020 17:47:22 +0200 Message-ID: <83d00l2oz9.fsf@gnu.org> References: <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> <83zh5n4hpd.fsf@gnu.org> <878sbagsx8.fsf@web.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28035"; mail-complaints-to="usenet@ciao.gmane.io" Cc: michael_heerdegen@web.de, 43389@debbugs.gnu.org, RLAdams@AdamsInfoServ.Com To: Jean Louis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 10 16:48:21 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 1kcVsb-0007DQ-2v for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Nov 2020 16:48:21 +0100 Original-Received: from localhost ([::1]:59024 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kcVsa-0000T4-3P for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Nov 2020 10:48:20 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56500) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcVsJ-0000Sk-CR for bug-gnu-emacs@gnu.org; Tue, 10 Nov 2020 10:48:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55385) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kcVsI-00074i-Iq for bug-gnu-emacs@gnu.org; Tue, 10 Nov 2020 10:48:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kcVsI-0006O0-HH for bug-gnu-emacs@gnu.org; Tue, 10 Nov 2020 10:48:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Nov 2020 15:48: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.160502324224497 (code B ref 43389); Tue, 10 Nov 2020 15:48:02 +0000 Original-Received: (at 43389) by debbugs.gnu.org; 10 Nov 2020 15:47:22 +0000 Original-Received: from localhost ([127.0.0.1]:38698 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcVre-0006N3-07 for submit@debbugs.gnu.org; Tue, 10 Nov 2020 10:47:22 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56252) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcVrc-0006Mi-6I for 43389@debbugs.gnu.org; Tue, 10 Nov 2020 10:47:20 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34749) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kcVrV-0006p1-JT; Tue, 10 Nov 2020 10:47:13 -0500 Original-Received: from [176.228.60.248] (port=1299 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kcVrV-0003ZZ-4U; Tue, 10 Nov 2020 10:47:13 -0500 In-Reply-To: (message from Jean Louis on Tue, 10 Nov 2020 01:33:17 +0300) 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:193027 Archived-At: > Date: Tue, 10 Nov 2020 01:33:17 +0300 > From: Jean Louis > Cc: Eli Zaretskii , 43389@debbugs.gnu.org, > Russell Adams > > It was happening regularly under EXWM. Memory get occupied more and > more and more until it does not go any more, swapping becomes tedious > and computer becomes non-responsive. Then I had to kill it. By using > symon-mode I could see swapping of 8 GB and more. My memory is 4 GB > plus 8 GB swap currently. > > This similar condition takes place only after keeping Emacs long in > memory like maybe 5-8 hours. > > After putting laptop to sleep it happens more often. > > When I changed to IceWM this happened only once. If this was due to a WM, are you sure it was Emacs that was eating up memory, and not the WM itself? If it was Emacs, then I think the only way it could depend on the WM is if the WM feeds Emacs with many X events that somehow consume memory. Michael, what WM are you using.