From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id sHBsHanVX18gfAAA0tVLHw (envelope-from ) for ; Mon, 14 Sep 2020 20:42:17 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id eHHCF6nVX19OfAAA1q6Kng (envelope-from ) for ; Mon, 14 Sep 2020 20:42:17 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 139059401CF for ; Mon, 14 Sep 2020 20:42:17 +0000 (UTC) Received: from localhost ([::1]:55650 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHvIl-0006nM-H5 for larch@yhetil.org; Mon, 14 Sep 2020 16:42:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33440) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHvIY-0006mM-Qa for bug-guix@gnu.org; Mon, 14 Sep 2020 16:42:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44877) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kHvIY-0006CE-Gi for bug-guix@gnu.org; Mon, 14 Sep 2020 16:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kHvIY-0000uB-E2 for bug-guix@gnu.org; Mon, 14 Sep 2020 16:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#43406: Emacs 27.1 memory consumption grows indefinitely Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 14 Sep 2020 20:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43406 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 43406@debbugs.gnu.org Received: via spool by 43406-submit@debbugs.gnu.org id=B43406.16001160853430 (code B ref 43406); Mon, 14 Sep 2020 20:42:02 +0000 Received: (at 43406) by debbugs.gnu.org; 14 Sep 2020 20:41:25 +0000 Received: from localhost ([127.0.0.1]:56423 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHvHw-0000tF-S3 for submit@debbugs.gnu.org; Mon, 14 Sep 2020 16:41:25 -0400 Received: from world.peace.net ([64.112.178.59]:35794) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHvHt-0000t0-8Z for 43406@debbugs.gnu.org; Mon, 14 Sep 2020 16:41:23 -0400 Received: from mhw by world.peace.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kHvHn-00082k-II; Mon, 14 Sep 2020 16:41:15 -0400 From: Mark H Weaver In-Reply-To: <874ko0b12w.fsf@gnu.org> References: <874ko0b12w.fsf@gnu.org> Date: Mon, 14 Sep 2020 16:40:00 -0400 Message-ID: <87h7s0f5xg.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: zoDCBexjYgel Hi Ludovic, Ludovic Court=C3=A8s writes: > Since I upgraded to Emacs 27.1, its memory consumption grows without > bounds, to the point that it gets OOM-killed after just a couple of > hours (meaning that it=E2=80=99s used most of the 16G of RAM of my laptop= !). > > Does that ring a bell to anyone? I have 50+ ^emacs- packages in my > profile; any clues on what could be the cause before diving further? Here's another data point: although I haven't paid attention to the memory consumption of Emacs 27.1, I've used it successfully for at least 10 hours at a time (probably more) on my X200 with only 4G of RAM. I use 'emacs-no-x-toolkit' with only a few emacs packages: emacs-no-x-toolkit emacs-paredit emacs-magit emacs-geiser emacs-org-caldav emacs-nov-el notmuch I haven't actually used 'emacs-org-caldav' or 'emacs-nov-el' recently. Paredit, Geiser, Magit, and Notmuch's Emacs mail client are the only out-of-tree Emacs packages that I actively use. Mark (boring Emacs user :)