From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Russell Adams Newsgroups: gmane.emacs.bugs Subject: bug#43389: 28.0.50; Emacs memory leaks Date: Thu, 26 Nov 2020 17:54:36 +0100 Message-ID: <20201126165436.GB16802@maokai> 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> <20201126154219.GA16802@maokai> <837dq8qdpk.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8574"; mail-complaints-to="usenet@ciao.gmane.io" To: 43389@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 26 17:55:43 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 1kiKYY-00027A-U4 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 Nov 2020 17:55:42 +0100 Original-Received: from localhost ([::1]:53852 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kiKYX-000234-QZ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 Nov 2020 11:55:41 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55344) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiKXu-00021G-3H for bug-gnu-emacs@gnu.org; Thu, 26 Nov 2020 11:55:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59364) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kiKXt-0007nY-PY for bug-gnu-emacs@gnu.org; Thu, 26 Nov 2020 11:55:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kiKXt-0006JG-Mp for bug-gnu-emacs@gnu.org; Thu, 26 Nov 2020 11:55:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Russell Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Nov 2020 16:55: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.160640969224237 (code B ref -1); Thu, 26 Nov 2020 16:55:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Nov 2020 16:54:52 +0000 Original-Received: from localhost ([127.0.0.1]:42677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kiKXj-0006Ip-S7 for submit@debbugs.gnu.org; Thu, 26 Nov 2020 11:54:52 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:53088) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kiKXh-0006Ih-MT for submit@debbugs.gnu.org; Thu, 26 Nov 2020 11:54:50 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55312) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiKXh-0001xi-1I for bug-gnu-emacs@gnu.org; Thu, 26 Nov 2020 11:54:49 -0500 Original-Received: from se18.route25.eu ([2a00:f10:400:4:1c00:18ff:fe00:1617]:59366) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiKXc-0007l7-Un for bug-gnu-emacs@gnu.org; Thu, 26 Nov 2020 11:54:47 -0500 Mail-Followup-To: bug-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <837dq8qdpk.fsf@gnu.org> X-Originating-IP: 2a00:f10:400:2:446:66ff:fe00:2ce X-SpamExperts-Domain: out.pcextreme.nl X-SpamExperts-Username: 2a00:f10:400:2:446:66ff:fe00:2ce Authentication-Results: route25.eu; auth=pass smtp.auth=2a00:f10:400:2:446:66ff:fe00:2ce@out.pcextreme.nl X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.15) X-Recommended-Action: accept X-Filter-ID: Mvzo4OR0dZXEDF/gcnlw0fJVsTFCFA1YlcTpjJcy6PSpSDasLI4SayDByyq9LIhVUZbR67CQ7/vm /hHDJU4RXkTNWdUk1Ol2OGx3IfrIJKywOmJyM1qr8uRnWBrbSAGD0VsY0HzEkBzUTjuObUvkgtQ5 3pMmTXeVbblO3cSIiVA6EIOyzl67b30anJ1fltctJODXbtOodkPED+RkHjVGH9gpfPe2lDQBFQc5 pWKjU8U1TnR+f0U9cu064nZcMieLAqdkk6hppCDsqsBwLjHur1XxB26GtR7aQdGQ3RxVouttwXp1 RdEU8VHZI5KGZSviaHwJ2eESrUp0Iw/gSJ3HqMuR600P9eQ3vodupN36MrkzGQZS068e3EYTgNAB jZkD8TzPF4eG61o+cxFZrUIXowfXJosMX5ZQSlYSVlCDu2na8Lc2iK0mXNgodhRh0E6+UMVFei1G 2PrSIU9EwioS70yFBF2moUWeHNDS4qZDIDBdjx85xQq9VD42UbTRudBo31/E3ahF5MMcDI7KdpjQ KULbtCr8aoTjHIUEuG3LCVsCW2UOyugPPaOGK1ZclZhyJ1oAKHx1qHjvOGXm6QB+mk6ZTzCPKsFf twxbkg5OTEJBSZDxFdMdjhWKQRs1y634ncQ5WKeQ/7rEsJxU50tHcvbkO2/k3PClL+ADRrPkiQom eMjKHBjP6ZaffNwqYvUmL8nkwDR3V5eCWS3kuF8Eiy5vj0UGBndj/UwlV/6+vV94bLBiueHg91Bu vRZIPRdQl0I4rlRXPFv7CSYqmR2tS5YJVR60EgsQK4e4QdU0u3iBotFRctWNM2uhdjS2uzKcacI7 P7qjc8/EwgU8p/GRq2js9yN/qOHGq X-Report-Abuse-To: spam@semaster01.route25.eu Received-SPF: pass client-ip=2a00:f10:400:4:1c00:18ff:fe00:1617; envelope-from=rladams@adamsinfoserv.com; helo=se18.route25.eu X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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:194359 Archived-At: On Thu, Nov 26, 2020 at 06:34:31PM +0200, Eli Zaretskii wrote: > > Date: Thu, 26 Nov 2020 16:42:19 +0100 > > From: Russell Adams > > > > So my emacs grew to 8GB in RAM, and what was curious is if it was a > > background task (not window focused on an emacsclient), then the > > memory stayed the same. When I had the window focused, I could watch > > the memory constantly increasing in htop a few megs at a time. > > Was the memory increasing even when you did nothing in the session? > If so, do you have some background functions running, e.g. timers? If > Emacs was not idle, can you describe what you were doing at that time? At one point I was watching htop and every time I switched to the Emacs window and returned to htop, I'd see it grow by several more MB over 3-5 seconds and then stop. So I left Emacs as the focused window overnight, and it grew from 4GB to 8GB. In this instance, I had my cursor at the bottom of a saved Org file. I wasn't even actively typing or interacting with Emacs. I just grew each time it got window focus. Yes I have a few timers, but those trip at midnight. I call org-agenda and org-caldev-sync. I don't have any other timers that I know of. Mind you I'm running daemon mode and I'm looking at an emacsclient frame. Thanks. ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3