From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Jose A. Ortega Ruiz" Newsgroups: gmane.emacs.bugs Subject: bug#43389: 28.0.50; Emacs memory leaks Date: Wed, 09 Dec 2020 19:41:36 +0000 Message-ID: <87r1nywyvj.fsf@gnus.jao.io> References: <87v9edk4eb.fsf@igel.home> <87imadcqqk.fsf@web.de> <87h7pxjrh5.fsf@igel.home> <87eel1cq83.fsf@web.de> <4788A848-D51C-4A25-B023-BA029874DBE5@gnu.org> <87a6vpcphp.fsf@web.de> <83ft5h2pks.fsf@gnu.org> <87tutxi2cz.fsf@web.de> <87y2i9jebl.fsf@web.de> <878sa9f09g.fsf@gnus.jao.io> <20201208123737.GZ6337@maokai> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34804"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: 43389@debbugs.gnu.org Cancel-Lock: sha1:2vPS7EhgbiKe7LJVOB32GmJFm5Y= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 09 21:16:05 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 1kn5sb-0008yD-SR for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Dec 2020 21:16:05 +0100 Original-Received: from localhost ([::1]:58184 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kn5sZ-0006Ui-UP for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Dec 2020 15:16:03 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50404) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kn5lq-0000n1-Js for bug-gnu-emacs@gnu.org; Wed, 09 Dec 2020 15:09:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52919) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kn5lm-00051i-6J for bug-gnu-emacs@gnu.org; Wed, 09 Dec 2020 15:09:06 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kn5lm-0007YO-17 for bug-gnu-emacs@gnu.org; Wed, 09 Dec 2020 15:09:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <87r1r5428d.fsf@web.de> Resent-From: "Jose A. Ortega Ruiz" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Dec 2020 20:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43389 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160754449528980 (code B ref -1); Wed, 09 Dec 2020 20:09:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Dec 2020 20:08:15 +0000 Original-Received: from localhost ([127.0.0.1]:36232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kn5l1-0007XM-Gw for submit@debbugs.gnu.org; Wed, 09 Dec 2020 15:08:15 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:37494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kn5kz-0007XE-Tw for submit@debbugs.gnu.org; Wed, 09 Dec 2020 15:08:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50198) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kn5kz-0008TE-OV for bug-gnu-emacs@gnu.org; Wed, 09 Dec 2020 15:08:13 -0500 Original-Received: from static.214.254.202.116.clients.your-server.de ([116.202.254.214]:54626 helo=ciao.gmane.io) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kn5ky-0004mR-8B for bug-gnu-emacs@gnu.org; Wed, 09 Dec 2020 15:08:13 -0500 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1kn5ks-000A61-CI for bug-gnu-emacs@gnu.org; Wed, 09 Dec 2020 21:08:06 +0100 X-Injected-Via-Gmane: http://gmane.org/ X-Attribution: jao X-Clacks-Overhead: GNU Terry Pratchett X-URL: Received-SPF: pass client-ip=116.202.254.214; envelope-from=geb-bug-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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:195590 Archived-At: On Tue, Dec 08 2020, Russell Adams wrote: > On Tue, Dec 08, 2020 at 03:24:27AM +0000, Jose A. Ortega Ruiz wrote: >> On Tue, Dec 08 2020, Michael Heerdegen wrote: >> >> > shut it down normally). I'm sure that at least a significant part of >> > the problem materialized while using (more or less only) Gnus. >> >> I also have anecdotal evidence of that. Quite systematically, i start >> emacs, things load, i'm around 300Mb or RAM, quite stable. Then i start >> Gnus, read some groups, and, ver soon after that, while emacs is >> basically idle, i can see RAM increasing by ~10Mb every ~10secs until it >> reaches something like 800-900Mb. > > I have consistently encountered this memory leak without a clear path > to reproducing it other than regular use over time, and I don't use > Gnus. I read mail in Mutt in another terminal window. > > Thus I'm not sure Gnus is the culprit. Neither am i :) Actually, i just observed the pattern above (RAM going up by 1Mb/sec bringing total memory from 300Mb to 800Mb, then stopping) before starting Gnus. So i guess that, if Gnus plays any role, it must be indirectly. jao -- I don't necessarily agree with everything I say. -Marshall McLuhan (1911-1980)