From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Trevor Bentley Newsgroups: gmane.emacs.bugs Subject: bug#43389: 28.0.50; Emacs memory leaks using hard disk all time Date: Tue, 08 Dec 2020 22:50:37 +0100 Message-ID: <87eek0rmqa.fsf@mail.trevorbentley.com> References: <83y2j0qb2v.fsf@gnu.org> <83blfovzxz.fsf@gnu.org> <87o8jnu5f2.fsf@mail.trevorbentley.com> <83o8jmu49z.fsf@gnu.org> <522e3cc0-c563-3308-7264-1b09cd5e264b@redhat.com> <87o8jltglg.fsf@mail.trevorbentley.com> <43b8f55b-d201-76e0-2d19-d97dec8798aa@redhat.com> <87im9ttfeg.fsf@mail.trevorbentley.com> <399d4681-940a-c782-b91e-750e62840cb6@redhat.com> <83pn40qkyb.fsf@gnu.org> <418751f6-41be-a5e2-908a-ea4196d5fb9b@redhat.com> <83y2inq2sp.fsf@gnu.org> <60253612-49f0-a1aa-b9e6-39cfef8d62b5@redhat.com> <83mtz3p7qy.fsf@gnu.org> <83lfenp78f.fsf@gnu.org> <83h7pbp5wh.fsf@gnu.org> <83v9dpn9em.fsf@gnu.org> <87sg8ts766.fsf@mail.trevorbentley.com> <87pn3usr13.fsf@mail.trevorbentley.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38228"; mail-complaints-to="usenet@ciao.gmane.io" Cc: fweimer@redhat.com, 43389@debbugs.gnu.org, bugs@gnu.support, dj@redhat.com, michael_heerdegen@web.de, To: Eli Zaretskii , carlos@redhat.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 08 23:39: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 1kmldb-0009qF-IG for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Dec 2020 23:39:16 +0100 Original-Received: from localhost ([::1]:36940 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmlda-0004uu-Ia for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Dec 2020 17:39:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50454) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmksw-0003bJ-0W for bug-gnu-emacs@gnu.org; Tue, 08 Dec 2020 16:51:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48475) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kmksv-0006uo-N7 for bug-gnu-emacs@gnu.org; Tue, 08 Dec 2020 16:51:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kmksv-0004OR-Kp for bug-gnu-emacs@gnu.org; Tue, 08 Dec 2020 16:51:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Trevor Bentley Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Dec 2020 21:51: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.160746424816864 (code B ref 43389); Tue, 08 Dec 2020 21:51:01 +0000 Original-Received: (at 43389) by debbugs.gnu.org; 8 Dec 2020 21:50:48 +0000 Original-Received: from localhost ([127.0.0.1]:60021 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmksh-0004Nw-Mu for submit@debbugs.gnu.org; Tue, 08 Dec 2020 16:50:47 -0500 Original-Received: from mail.trevorbentley.com ([37.187.5.80]:32792) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmksf-0004Ni-Di for 43389@debbugs.gnu.org; Tue, 08 Dec 2020 16:50:46 -0500 Original-Received: from localhost (c188-150-0-48.bredband.comhem.se [188.150.0.48]) by mail.trevorbentley.com (Postfix) with ESMTPSA id F0A6C6055C; Tue, 8 Dec 2020 22:50:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mail.trevorbentley.com; s=mail; t=1607464239; bh=JCqT/DyRtltRoG+bUrsTyQGoQ50fOG+dY41cFFXqEW4=; h=From:To:Cc:Cc:Subject:In-Reply-To:References:Date:From; b=rJkdgc62GnqfpRDbKuvoIKo/D6gaCQRdi13RlxnsCGxZjJukx3ezBhGO6D9U63fKV cqRLnzp0RSHi4JbmCensAJ+4H3/LZYUviU+j1aVrzlakJPP6Iqj+CyQDIBD3l2UmDf 2JvrD9aBeYUwHgL78rFrWxhFt36muTIWrFQeBvR8= In-Reply-To: <87pn3usr13.fsf@mail.trevorbentley.com> 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:195451 Archived-At: Trevor Bentley writes: I'm back with 5 mtraces: https://trevorbentley.com/mtrace/ Keep in mind that these things compress well, so the largest one is on the order of 45GB when decompressed. These are from various emacs instances, some running the emacs-slack package and others just editing elisp code. All inflated to several gigabytes of heap over 1-4 days. Log files similar to the ones I've been posting in this thread are in the archives. I don't think there's any point of including them here anymore, as they're all about the same. I've been too busy to modify emacs to print garbage collects, but these still show really long (garbage-collect) calls, often exceeding 15 minutes. Last thing: I've had one unused (graphical) emacs session running for 16 days now, minimized. It's still at 57MB RSS. I can definitively say that the leak doesn't occur unless emacs is actively used, for all the good that does us. -Trevor