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 05:30:53 +0200 Message-ID: <83sg9h3n2q.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="37970"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 43389@debbugs.gnu.org, RLAdams@AdamsInfoServ.Com To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 10 04:31:16 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 1kcKNH-0009ni-V5 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Nov 2020 04:31:15 +0100 Original-Received: from localhost ([::1]:43102 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kcKNH-0004WS-0D for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 09 Nov 2020 22:31:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcKN4-0004Vx-3w for bug-gnu-emacs@gnu.org; Mon, 09 Nov 2020 22:31:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52728) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kcKN3-00062Q-QD for bug-gnu-emacs@gnu.org; Mon, 09 Nov 2020 22:31:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kcKN3-0003OW-NR for bug-gnu-emacs@gnu.org; Mon, 09 Nov 2020 22:31:01 -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 03:31:01 +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.160497905313033 (code B ref 43389); Tue, 10 Nov 2020 03:31:01 +0000 Original-Received: (at 43389) by debbugs.gnu.org; 10 Nov 2020 03:30:53 +0000 Original-Received: from localhost ([127.0.0.1]:36041 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcKMv-0003O9-EZ for submit@debbugs.gnu.org; Mon, 09 Nov 2020 22:30:53 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42666) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcKMt-0003Nu-OP for 43389@debbugs.gnu.org; Mon, 09 Nov 2020 22:30:52 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54577) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kcKMn-0005wI-SZ; Mon, 09 Nov 2020 22:30:45 -0500 Original-Received: from [176.228.60.248] (port=3768 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kcKMn-0005V4-55; Mon, 09 Nov 2020 22:30:45 -0500 In-Reply-To: <878sbagsx8.fsf@web.de> (message from Michael Heerdegen on Mon, 09 Nov 2020 21:46:11 +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:192986 Archived-At: > From: Michael Heerdegen > Cc: Russell Adams , 43389@debbugs.gnu.org > Date: Mon, 09 Nov 2020 21:46:11 +0100 > > Garbage collection stats: > ((conses 16 2645730 3784206) (symbols 48 68678 724) (strings 32 528858 451889) (string-bytes 1 18127696) (vectors 16 213184) (vector-slots 8 3704641 2189052) (floats 8 2842 5514) (intervals 56 264780 87057) (buffers 992 119)) > > => 40.4MB (+ 57.7MB dead) in conses > 3.14MB (+ 33.9kB dead) in symbols > 16.1MB (+ 13.8MB dead) in strings > 17.3MB in string-bytes > 3.25MB in vectors > 28.3MB (+ 16.7MB dead) in vector-slots > 22.2kB (+ 43.1kB dead) in floats > 14.1MB (+ 4.65MB dead) in intervals > 115kB in buffers > > Total in lisp objects: 216MB (live 123MB, dead 93.0MB) > > Buffer ralloc memory usage: > 119 buffers > 16.1MB total (1.71MB in gaps) Once again, the memory managed by GC doesn't explain the overall footprint. > Anything I can do to find out more? If you have some tool that can produce a detailed memory map, stating which part and which library uses what memory, please do. Otherwise, the most important thing is to try to describe what you did from the beginning of the session, including the files you visited and other features/commands you invoked that could at some point consume memory. Thanks.