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: Sat, 28 Nov 2020 22:13:56 +0200 Message-ID: <83eekdme7v.fsf@gnu.org> References: <838sda98jm.fsf@gnu.org> <20200915211209.GW20869@maokai> <83pn6l7ozj.fsf@gnu.org> <20200917204704.GA20217@maokai> <20201126154219.GA16802@maokai> <837dq8qdpk.fsf@gnu.org> <20201126165436.GB16802@maokai> <831rgfrkl1.fsf@gnu.org> <20201127104520.GE16802@maokai> <83360votzk.fsf@gnu.org> <20201128195631.GK16802@maokai> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29960"; mail-complaints-to="usenet@ciao.gmane.io" Cc: fweimer@redhat.com, 43389@debbugs.gnu.org, dj@redhat.com, michael_heerdegen@web.de, trevor@trevorbentley.com, carlos@redhat.com To: Russell Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 28 21:15:10 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 1kj6cf-0007g1-V2 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 28 Nov 2020 21:15:09 +0100 Original-Received: from localhost ([::1]:36024 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kj6ce-0000b7-K2 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 28 Nov 2020 15:15:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41612) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kj6cY-0000ak-SN for bug-gnu-emacs@gnu.org; Sat, 28 Nov 2020 15:15:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37621) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kj6cY-000126-LC for bug-gnu-emacs@gnu.org; Sat, 28 Nov 2020 15:15:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kj6cY-0002bo-FK for bug-gnu-emacs@gnu.org; Sat, 28 Nov 2020 15:15: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: Sat, 28 Nov 2020 20:15: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.16065944639965 (code B ref 43389); Sat, 28 Nov 2020 20:15:02 +0000 Original-Received: (at 43389) by debbugs.gnu.org; 28 Nov 2020 20:14:23 +0000 Original-Received: from localhost ([127.0.0.1]:49167 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kj6bu-0002af-RA for submit@debbugs.gnu.org; Sat, 28 Nov 2020 15:14:23 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51462) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kj6bq-0002aP-8k for 43389@debbugs.gnu.org; Sat, 28 Nov 2020 15:14:21 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49891) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kj6bj-0000ju-8y; Sat, 28 Nov 2020 15:14:11 -0500 Original-Received: from [176.228.60.248] (port=3946 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kj6bi-000852-6D; Sat, 28 Nov 2020 15:14:10 -0500 In-Reply-To: <20201128195631.GK16802@maokai> (message from Russell Adams on Sat, 28 Nov 2020 20:56:31 +0100) 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:194507 Archived-At: > Date: Sat, 28 Nov 2020 20:56:31 +0100 > From: Russell Adams > Cc: dj@redhat.com, fweimer@redhat.com, trevor@trevorbentley.com, > michael_heerdegen@web.de, carlos@redhat.com, 43389@debbugs.gnu.org > > I find particularly of interest the growth of Emacs processes while > idle. > > Yesterday I restarted Emacs and over the next 18 hours I left my > laptop idle with Emacs as the focused application. My Emacs has grown > to 3GB and every time I select my Emacs window it will grow by a few > MB while I watch in htop. Is there any way to get a trace/record of X events that are delivered to Emacs during this kind of idleness? Those events and the timers are, I think, the only things that are going inside such an idle session.