From unknown Tue Aug 19 11:04:09 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#43406 <43406@debbugs.gnu.org> To: bug#43406 <43406@debbugs.gnu.org> Subject: Status: Helm 3.6.5 on Emacs 27.1 leaks memory Reply-To: bug#43406 <43406@debbugs.gnu.org> Date: Tue, 19 Aug 2025 18:04:09 +0000 retitle 43406 Helm 3.6.5 on Emacs 27.1 leaks memory reassign 43406 guix submitter 43406 Ludovic Court=C3=A8s severity 43406 serious thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 14 15:39:13 2020 Received: (at submit) by debbugs.gnu.org; 14 Sep 2020 19:39:13 +0000 Received: from localhost ([127.0.0.1]:56333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHuJk-0005Xl-UY for submit@debbugs.gnu.org; Mon, 14 Sep 2020 15:39:13 -0400 Received: from lists.gnu.org ([209.51.188.17]:46458) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHuJX-0005XB-HS for submit@debbugs.gnu.org; Mon, 14 Sep 2020 15:39:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49110) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHuJX-0006ov-6B for bug-guix@gnu.org; Mon, 14 Sep 2020 15:38:59 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58958) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHuJU-000717-QF for bug-guix@gnu.org; Mon, 14 Sep 2020 15:38:58 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=33416 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kHuJU-0003fY-DL for bug-guix@gnu.org; Mon, 14 Sep 2020 15:38:56 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Subject: Emacs 27.1 memory consumption grows indefinitely X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 29 Fructidor an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 14 Sep 2020 21:38:47 +0200 Message-ID: <874ko0b12w.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello, 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? --8<---------------cut here---------------start------------->8--- $ guix package -I ^emacs$ emacs 27.1 out /gnu/store/ipgb6s3phz3n740xlcdzaxnbgvncdh11-emacs-2= 7.1 $ guix describe Generacio 157 Sep 10 2020 08:49:21 (nuna) guix 7090159 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 7090159c23d6345992ab976d71fefeb1583cfcdf $ uname -rm 5.8.8-gnu x86_64 --8<---------------cut here---------------end--------------->8--- Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 14 16:41:25 2020 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 To: Ludovic =?utf-8?Q?Court=C3=A8s?= , 43406@debbugs.gnu.org Subject: Re: bug#43406: Emacs 27.1 memory consumption grows indefinitely 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-Debbugs-Envelope-To: 43406 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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 :) From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 14 17:55:10 2020 Received: (at submit) by debbugs.gnu.org; 14 Sep 2020 21:55:10 +0000 Received: from localhost ([127.0.0.1]:56569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHwRK-0002o8-AK for submit@debbugs.gnu.org; Mon, 14 Sep 2020 17:55:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:51500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHwRH-0002ns-Uk for submit@debbugs.gnu.org; Mon, 14 Sep 2020 17:55:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHwRH-0006qZ-Mb for bug-guix@gnu.org; Mon, 14 Sep 2020 17:55:07 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21180) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHwRG-0007K8-2y; Mon, 14 Sep 2020 17:55:07 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1600120502; cv=none; d=zohomail.com; s=zohoarc; b=dZAjFlWNfHlsc+KHechKdNVVSCktpyX7VvP5lqxIazR+MpbsUoAJdMhXljEfrJQHpVfOO7zpqybbLx7T8qHRy9DvCvUfHgJc/GbNzouD7Soav0cama70hVQzernNRiZ74gZ9MKmqg34BORA7ZfPlNPMnaOqTeyEIZRR4bOSauCA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1600120502; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=aoNNprJtz3pciayR/mgsaxhgAbYrM6A/pmXNzlAIqS0=; b=hQgXuyevSowmJVPM7fvR0zYiUGEfqKrKwiYizmkW6D57JvZCpQoFOJl3OBYoxq2nU7rmZejgnSPhf+fpplfdNoISJVxjmkeIYrVQsTc8mRPiICY3uK2UXrxtTleuKBPLZ2/161u6A3nvV7OZvWV0tpougGRGSChhFOsYDrPxQLw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1600120502; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=aoNNprJtz3pciayR/mgsaxhgAbYrM6A/pmXNzlAIqS0=; b=J5yrXWJOGEehViC+GfA+j8jpKXhS2aRhpYM4lhPIGTxOoaHTN0N0E57gkNAwgJsg r7XRysN8Rh9VVl5D8yA4EIvEMdteV3EbIevLnEfsb+arUAXRFm7+RQIyCDmIB2A861i 56pt7l1pdrRk3RSro1YdoizknpnY3E59njMSUy94= Received: from localhost (p54ad4c23.dip0.t-ipconnect.de [84.173.76.35]) by mx.zohomail.com with SMTPS id 1600120499920934.4718846394944; Mon, 14 Sep 2020 14:54:59 -0700 (PDT) References: <874ko0b12w.fsf@gnu.org> User-agent: mu4e 1.4.13; emacs 27.1 From: Ricardo Wurmus To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#43406: Emacs 27.1 memory consumption grows indefinitely In-reply-to: <874ko0b12w.fsf@gnu.org> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Mon, 14 Sep 2020 23:56:17 +0200 Message-ID: <871rj4xbsu.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/14 15:46:00 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: 43406@debbugs.gnu.org, bug-guix@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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= !). [=E2=80=A6] > $ guix package -I ^emacs$ > emacs 27.1 out /gnu/store/ipgb6s3phz3n740xlcdzaxnbgvncdh11-emacs= -27.1 I have not observed this with /gnu/store/0v2r0d9gwbks7gmg5rygjb9mpb8i1bhl-e= macs-27.1 (emacs-uptime) says "5 days, 11 hours, 38 minutes, 57 seconds" --=20 Ricardo From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 14 18:12:14 2020 Received: (at 43406) by debbugs.gnu.org; 14 Sep 2020 22:12:15 +0000 Received: from localhost ([127.0.0.1]:56592 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHwhq-0003GF-O8 for submit@debbugs.gnu.org; Mon, 14 Sep 2020 18:12:14 -0400 Received: from mail-qk1-f170.google.com ([209.85.222.170]:33910) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHwho-0003Fz-Ax for 43406@debbugs.gnu.org; Mon, 14 Sep 2020 18:12:12 -0400 Received: by mail-qk1-f170.google.com with SMTP id w186so2163405qkd.1 for <43406@debbugs.gnu.org>; Mon, 14 Sep 2020 15:12:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WeVM/Ab0DcduRFYBDK08VZZca7Ax6Cy8TuLUC8GI+fY=; b=Jw7PzANALl/YdlUGEqEY/3LvTsaNDq1UgO4Smjum3XNGWpauWufjYBGFaGlRTfimwu 8NfzSgoXiL7JeRQWEED0A3vHrTCHqDJFhmEsUAmNXsaYDIObaFDxbq0FTKFoUtvtONya eCXFDAfmZOEEyW/fpWDgz0tPcDgzUMfc/khzKCBG/r5DVdvlQBEfEbcymMrRhlehYbs9 XWAhmm6HtgJ5x5VwWuLc+xjeiipU5mwAYMal9Q4oe1wF/QxkOEKVMMdZmo850Kc1G3Tz qfSvLIPU5xIOGrj3VtxTQs5raFfvStfHNHoeD60RMOaTmUCOhSgjS8MrjMBa7m+lTpxc hIuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WeVM/Ab0DcduRFYBDK08VZZca7Ax6Cy8TuLUC8GI+fY=; b=qBWoOOPdvDvYNQ0+yLZu11xYhUuQCpezsFMYT9dhErWnq643ePI98TMvWalCl3v8lk Bh53ctYpPl+rNBhcOtqm50cUeOeaMhJqlgfwU0gbWjp+TzSnLPvFv4rNeiyCqwUidiQI vyxIAP9hQeK2Lu+BShEC45rScKz8Voml6ISgGNZHbkp2nAiA6LaO2ST1jlhk8NbQM2ET y9s2aG3hgu1a2iTLJS4Gupcw7Vt0OtDqssiGAynAnmrxXrK1AbPw9qSQt49gejV7xD00 /ZoaYSY+1QCmyTKo+yJyeeZpA7U5Ufus03cxj8z3NHjiGgvHgfkfTZlcoQftZMB04GNW h9cQ== X-Gm-Message-State: AOAM531YaYZQlKOygDFbS7DCHnjYo1BUlocWvvlR1U59FS3KJhggZjbT 3a0FnRMOg1wsEcAWt/CpDFC/YvVuapqL/2EDBTo= X-Google-Smtp-Source: ABdhPJy9bgwRYDZ8ZvgBIX58VHpvmHl+SXrLX558Sk+T9Mb3xm9I74XQ8Lp0cm+eKM0y+HLHy9/jPjNrqDmrXvBsiFU= X-Received: by 2002:a05:620a:a09:: with SMTP id i9mr13485633qka.201.1600121526858; Mon, 14 Sep 2020 15:12:06 -0700 (PDT) MIME-Version: 1.0 References: <874ko0b12w.fsf@gnu.org> <871rj4xbsu.fsf@elephly.net> In-Reply-To: <871rj4xbsu.fsf@elephly.net> From: zimoun Date: Tue, 15 Sep 2020 00:11:54 +0200 Message-ID: Subject: Re: bug#43406: Emacs 27.1 memory consumption grows indefinitely To: Ricardo Wurmus Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43406 Cc: 43406@debbugs.gnu.org, =?UTF-8?Q?Ludovic_Court=C3=A8s?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > > emacs 27.1 out /gnu/store/ipgb6s3phz3n740xlcdzaxnbgvncdh11-emacs-27.1 With the exact store item, M-x emacs-uptime says "3 days, 3 hours, 4 minutes, 7 seconds". My kernel is 4.19.0-10 from Debian. I use these packages: "diminish" "yasnippet" "smex" "counsel" "ivy" "ivy-rich" "magit" "debbugs" "ag" "org" "org-contrib" "flycheck" "auctex" "auto-dictionary-mode" "ox-pandoc" "pandoc-mode" "htmlize" "org-re-reveal" "typo" "pdf-tools" "paredit" "geiser" "guix" ;; "ess" "julia-mode" "pyvenv" "haskell-mode" "tuareg" "rust-mode" "lua-mode" "markdown-mode" "google-c-style" "graphviz-dot-mode" "skewer-mode" "ws-butler" "fill-column-indicator" "page-break-lines" "info-plus" "keyfreq" in addition to the ones in core, in case it helps. Cheers, simon From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 15 10:20:17 2020 Received: (at 43406) by debbugs.gnu.org; 15 Sep 2020 14:20:17 +0000 Received: from localhost ([127.0.0.1]:59985 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIBof-0005eX-5O for submit@debbugs.gnu.org; Tue, 15 Sep 2020 10:20:17 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48080) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIBob-0005eI-9F for 43406@debbugs.gnu.org; Tue, 15 Sep 2020 10:20:16 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45789) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kIBoV-0000bs-Hz; Tue, 15 Sep 2020 10:20:07 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=36880 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kIBoU-0005mV-NM; Tue, 15 Sep 2020 10:20:07 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: 43406@debbugs.gnu.org Subject: Re: bug#43406: Emacs 27.1 memory consumption grows indefinitely References: <874ko0b12w.fsf@gnu.org> Date: Tue, 15 Sep 2020 16:19:55 +0200 In-Reply-To: <874ko0b12w.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Mon, 14 Sep 2020 21:38:47 +0200") Message-ID: <87k0wvf7g4.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43406 Cc: Pierre Neidhardt , zimoun X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi! Ludovic Court=C3=A8s skribis: > 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? > > $ guix package -I ^emacs$ > emacs 27.1 out /gnu/store/ipgb6s3phz3n740xlcdzaxnbgvncdh11-emacs= -27.1 > $ guix describe > Generacio 157 Sep 10 2020 08:49:21 (nuna) > guix 7090159 > repository URL: https://git.savannah.gnu.org/git/guix.git > branch: master > commit: 7090159c23d6345992ab976d71fefeb1583cfcdf Emacs is about to crash :-), so let me share this finding from M-x profiler-report (mem) on a sample of a few minutes: --8<---------------cut here---------------start------------->8--- - timer-event-handler 805,671,418 87% - apply 804,987,874 87% + helm-ff--cache-mode-refresh 802,103,698 86% + emms-playing-time-display 1,349,461 0% + battery-update-handler 1,109,005 0% + # 221,094 0% + # 49,632 0% + blink-cursor-start 30,368 0% + auto-revert-buffers 29,480 0% + highlight-symbol-temp-highlight 22,076 0% + mouse-avoidance-fancy 20,440 0% + display-time-event-handler 18,383 0% + show-paren-function 13,464 0% + erc-server-send-ping 7,500 0% jit-lock-force-redisplay 4,136 0% + blink-cursor-timer-function 4,136 0% + nnimap-keepalive 2,400 0% + gnus-demon-run-callback 1,545 0% + isearch-lazy-highlight-start 1,056 0% + timer-activate 306,016 0% + timer-inc-time 191,264 0% + timer-activate-when-idle 92,928 0% + command-execute 100,936,674 10% + erc-server-filter-function 5,178,272 0% + redisplay_internal (C function) 4,988,306 0% --8<---------------cut here---------------end--------------->8--- It=E2=80=99s Helm eating memory at each timer tick. That=E2=80=99s with: --8<---------------cut here---------------start------------->8--- emacs-helm-wikipedia 0.0.0-1.126f044 out /gnu/store/iy08rcx4hbravm9k3qlinc4= wvklp3pqi-emacs-helm-wikipedia-0.0.0-1.126f044 emacs-helm-swoop 3.0.0 out /gnu/store/qnr6asnk0b360ilx8cnrp35kwrh4fsf7-emac= s-helm-swoop-3.0.0 emacs-helm-shell-history 0.1-1.110d3c3 out /gnu/store/ljgfa72mw8jx6br9khl7i= dcmrw4i33hc-emacs-helm-shell-history-0.1-1.110d3c3 emacs-helm-make 0.1.0-1.feae8df out /gnu/store/lnizl47zxlj03waficpy7fvfrx1m= dqn7-emacs-helm-make-0.1.0-1.feae8df emacs-helm-ls-git 1.9.1-1.76654c7 out /gnu/store/897fkkh4bzpvbd06kf7vxr53hg= kk0vfs-emacs-helm-ls-git-1.9.1-1.76654c7 emacs-helm-gtags 1.5.7 out /gnu/store/lhibi05hvvn3zglcx2ii44yw723pfyja-emac= s-helm-gtags-1.5.7 emacs-helm 3.6.5 out /gnu/store/ka9lph0hpzaky0sa52zf09469apkhb68-emacs-helm= -3.6.5 emacs-helm-system-packages 1.10.1-1.6572340 out /gnu/store/lvkan5dsbcdkvl3y= 1fjmsgb423nzmmqc-emacs-helm-system-packages-1.10.1-1.6572340 emacs-helm-emms 1.3-3.37e5aa0 out /gnu/store/g06lnxvyqnp9d2yqgfanp69350f7m2= yp-emacs-helm-emms-1.3-3.37e5aa0 --8<---------------cut here---------------end--------------->8--- Cc=E2=80=99ing a couple of people who I think use Helm and hopefully have valuable advice to share. :-) Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 15 10:21:36 2020 Received: (at 43406) by debbugs.gnu.org; 15 Sep 2020 14:21:36 +0000 Received: from localhost ([127.0.0.1]:59993 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIBpv-0005hM-UL for submit@debbugs.gnu.org; Tue, 15 Sep 2020 10:21:36 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIBpu-0005h6-9v for 43406@debbugs.gnu.org; Tue, 15 Sep 2020 10:21:34 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45873) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kIBpp-0000zN-2d; Tue, 15 Sep 2020 10:21:29 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=36886 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kIBpo-0005yy-JI; Tue, 15 Sep 2020 10:21:28 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: 43406@debbugs.gnu.org Subject: Re: bug#43406: Emacs 27.1 memory consumption grows indefinitely References: <874ko0b12w.fsf@gnu.org> <87k0wvf7g4.fsf@gnu.org> Date: Tue, 15 Sep 2020 16:21:17 +0200 In-Reply-To: <87k0wvf7g4.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Tue, 15 Sep 2020 16:19:55 +0200") Message-ID: <87ft7jf7du.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43406 Cc: Pierre Neidhardt , zimoun X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) More precisely: --8<---------------cut here---------------start------------->8--- - timer-event-handler 805,671,418 87% - apply 804,987,874 87% - helm-ff--cache-mode-refresh 802,103,698 86% - helm-ff--cache-mode-refresh-1 801,321,290 86% - helm-ff-refresh-cache 801,237,818 86% - maphash 801,237,818 86% + # 801,237,818 86% helm-ff--cache-mode-max-idle-time 6,384 0% + run-with-idle-timer 651,464 0% --8<---------------cut here---------------end--------------->8--- From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 15 10:46:23 2020 Received: (at 43406) by debbugs.gnu.org; 15 Sep 2020 14:46:23 +0000 Received: from localhost ([127.0.0.1]:60094 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kICDv-0006MX-G6 for submit@debbugs.gnu.org; Tue, 15 Sep 2020 10:46:23 -0400 Received: from wp224.webpack.hosteurope.de ([80.237.132.231]:54816) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kICDs-0006MN-7H for 43406@debbugs.gnu.org; Tue, 15 Sep 2020 10:46:21 -0400 Received: from www.rohleder.de ([37.61.204.227]); authenticated by wp224.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1kICDq-0003al-8t; Tue, 15 Sep 2020 16:46:18 +0200 Received: from [192.168.1.4] (helo=xbmc) by www.rohleder.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1kICDn-0000N3-7h; Tue, 15 Sep 2020 16:46:17 +0200 From: Michael Rohleder To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#43406: Emacs 27.1 memory consumption grows indefinitely References: <874ko0b12w.fsf@gnu.org> <87k0wvf7g4.fsf@gnu.org> X-PGP-Fingerprint: 755E 2DE5 D0D5 85C5 2E78 2830 7C7A FFBE FEF2 CB25 X-PGP-Key: https://www.rohleder.de/~mike/pgpkey.asc Date: Tue, 15 Sep 2020 16:45:31 +0200 In-Reply-To: <87k0wvf7g4.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Tue, 15 Sep 2020 16:19:55 +0200") Message-ID: <87r1r3nlo4.fsf@rohleder.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-bounce-key: webpack.hosteurope.de;mike@rohleder.de;1600181180;661d4fae; X-HE-SMSGID: 1kICDq-0003al-8t X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 43406 Cc: 43406@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludovic, I also had trouble with that helm caching. I had the impression that it was because of newer helm versions not emacs versions. What helped me was disabling it with: (setq helm-ff-keep-cached-candidates nil) =2D-=20 Alles flie=C3=9Ft, nichts bleibt. Heraklit --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFFBAEBCAAvFiEEdV4t5dDVhcUueCgwfHr/vv7yyyUFAl9g04wRHG1pa2VAcm9o bGVkZXIuZGUACgkQfHr/vv7yyyX43Qf+LXmdcgvDMb5I8XQAPD8fD5aen4XKuaQC 48O8CIlHnt+D0Xji1XJoXUbJ0p5JLksL3mdIJ8dKAS6Jv8XU32wBnlF+zpaThMEd /ePKPrqHpYIAsgLl4hrTEjgaCbcKaM50+GreZkN2Nl1FMEUEK1gY2W0dTWyB9ahR jIp+gu+hQfJwYGst3AKK2hnFhdlNlZy3QEXCpoaNUwxo9/7MTQAOq1A6ChWHQGLo ndSzNsJmj9lpAdkirk+WOMXczkoqoatEeNRO15k5VGlbuLDS2v8KXRJqtntFvZvy LgRuHwRKSDdMxR7vTAoujcExNboYVEzomMlJSE8duGFTy8/SpYuQxw== =L+xO -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 15 10:47:52 2020 Received: (at 43406) by debbugs.gnu.org; 15 Sep 2020 14:47:52 +0000 Received: from localhost ([127.0.0.1]:60099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kICFL-0006Op-RQ for submit@debbugs.gnu.org; Tue, 15 Sep 2020 10:47:52 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:37881) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kICFJ-0006Oc-Jx for 43406@debbugs.gnu.org; Tue, 15 Sep 2020 10:47:51 -0400 X-Originating-IP: 90.92.160.122 Received: from bababa (lfbn-idf2-1-1094-122.w90-92.abo.wanadoo.fr [90.92.160.122]) (Authenticated sender: mail@ambrevar.xyz) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id BE7EE20016; Tue, 15 Sep 2020 14:47:42 +0000 (UTC) From: Pierre Neidhardt To: Ludovic =?utf-8?Q?Court=C3=A8s?= , 43406@debbugs.gnu.org Subject: Re: bug#43406: Emacs 27.1 memory consumption grows indefinitely In-Reply-To: <87ft7jf7du.fsf@gnu.org> References: <874ko0b12w.fsf@gnu.org> <87k0wvf7g4.fsf@gnu.org> <87ft7jf7du.fsf@gnu.org> Date: Tue, 15 Sep 2020 16:47:32 +0200 Message-ID: <87bli75c6z.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 43406 Cc: zimoun X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I believe believe helm-ff cache came with Helm 3.6.4. I find it slow (and not so useful?) so I've disabled it with: (setq helm-ff-keep-cached-candidates nil) Hope that helps! =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFGBAEBCAAwFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl9g1AQSHG1haWxAYW1i cmV2YXIueHl6AAoJEJvc9Jeku8x/NIgIAKHjkCRrdmsVy2W3Kg/Wy9qNEk25DVg2 0ayTpRI5feshPqDn9Px3R/BDBfqNEt4wHo5eYqfta39RzEKlRN18SE5QMHoMsji7 fXfcm8djWGRkUZaZm9H4qU+88VvDlc134ct3ukHim5VF5sfTpeDd6Bfl/Qp0EK+X 4YnA2FMHOqTXBnfwCTiPl/ev0ZasJZpEmo6SSY1MXtBoSfYz8MY+FsWp0rTsEtGu 57lns0PRrLVWTIRecuHFQGy7R7mSL/kVnWaHYpARK7+YWT0eBrMLQCCALs54L/Ob sO6AsbDjim10LK5BK5Zfv6rh2epPW+Kvd2F6+iSuyOT2VRguvDf4QVY= =5X1o -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 15 11:05:21 2020 Received: (at control) by debbugs.gnu.org; 15 Sep 2020 15:05:21 +0000 Received: from localhost ([127.0.0.1]:60143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kICWH-0006rQ-2P for submit@debbugs.gnu.org; Tue, 15 Sep 2020 11:05:21 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:33824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kICWE-0006rF-Ki for control@debbugs.gnu.org; Tue, 15 Sep 2020 11:05:19 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 24AC2113DB for ; Tue, 15 Sep 2020 17:05:17 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 57_5xcNP-rII for ; Tue, 15 Sep 2020 17:05:16 +0200 (CEST) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 6F54D113D9 for ; Tue, 15 Sep 2020 17:05:16 +0200 (CEST) Date: Tue, 15 Sep 2020 17:05:06 +0200 Message-Id: <875z8ft719.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #43406 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) severity 43406 serious quit From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 15 12:48:53 2020 Received: (at 43406) by debbugs.gnu.org; 15 Sep 2020 16:48:53 +0000 Received: from localhost ([127.0.0.1]:60431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIE8T-0003ZQ-4Y for submit@debbugs.gnu.org; Tue, 15 Sep 2020 12:48:53 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60464) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIE8P-0003ZC-Ef for 43406@debbugs.gnu.org; Tue, 15 Sep 2020 12:48:51 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49402) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kIE8I-0008EG-It; Tue, 15 Sep 2020 12:48:42 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=37406 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kIE8E-0000Ty-7I; Tue, 15 Sep 2020 12:48:39 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Pierre Neidhardt Subject: Re: bug#43406: Emacs 27.1 memory consumption grows indefinitely References: <874ko0b12w.fsf@gnu.org> <87k0wvf7g4.fsf@gnu.org> <87ft7jf7du.fsf@gnu.org> <87bli75c6z.fsf@ambrevar.xyz> Date: Tue, 15 Sep 2020 18:48:26 +0200 In-Reply-To: <87bli75c6z.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Tue, 15 Sep 2020 16:47:32 +0200") Message-ID: <87lfhbrnol.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43406 Cc: 43406@debbugs.gnu.org, Michael Rohleder , zimoun X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi! Pierre Neidhardt skribis: > I believe believe helm-ff cache came with Helm 3.6.4. > > I find it slow (and not so useful?) so I've disabled it with: > > (setq helm-ff-keep-cached-candidates nil) Michael Rohleder skribis: > What helped me was disabling it with: > (setq helm-ff-keep-cached-candidates nil) I definitely helps, thanks! I seem to have something else leaking still, but this time it=E2=80=99s primarily Gnus and/or EIEIO: --8<---------------cut here---------------start------------->8--- - command-execute 1,117,368,135 88% - call-interactively 1,117,276,295 88% - funcall-interactively 1,116,838,121 88% - gnus-group-save-newsrc 460,241,156 36% - gnus-save-newsrc-file 460,241,156 36% - gnus-run-hooks 429,283,350 34% - apply 429,283,350 34% - run-hooks 429,283,350 34% - gnus-registry-save 429,283,350 34% - eieio-persistent-save 427,938,700 33% - apply 427,938,700 33% + # 427,938,700 33% + gnus-registry--munge-group-names 1,340,064 0% + gnus-message 3,530 0% + gnus-gnus-to-quick-newsrc-format 20,126,054 1% + save-buffer 9,613,098 0% + gnus-agent-save-local 595,652 0% + gnus-gnus-to-newsrc-format 577,848 0% + gnus-group-set-mode-line 6,458 0% + gnus-message 3,736 0% + gnus-dribble-delete-file 3,352 0% gnus-get-buffer-create 2,138 0% + gnus-prune-buffers 1,056 0% - gnus-topic-read-group 208,616,775 16% - gnus-group-read-group 208,616,775 16% - gnus-summary-read-group 208,616,775 16% - gnus-summary-read-group-1 208,616,775 16% - gnus-run-hooks 163,821,469 13% - apply 163,821,469 13% - run-hooks 163,821,469 13% - spam-find-spam 162,365,376 12% - mapcar 162,328,432 12% + # 162,328,432 12% + gnus-parameter-spam-autodetect 35,888 0% + gnus-parameter-spam-autodetect-methods 1,056 0% + gnus-apply-kill-file 1,456,093 0% + gnus-select-newsgroup 31,456,212 2% --8<---------------cut here---------------end--------------->8--- Any cache to turn off? :-) Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 15 13:02:53 2020 Received: (at 43406) by debbugs.gnu.org; 15 Sep 2020 17:02:53 +0000 Received: from localhost ([127.0.0.1]:60447 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIEM0-00064p-Rf for submit@debbugs.gnu.org; Tue, 15 Sep 2020 13:02:53 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:36783) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIELz-00064a-8n for 43406@debbugs.gnu.org; Tue, 15 Sep 2020 13:02:51 -0400 X-Originating-IP: 90.92.160.122 Received: from bababa (lfbn-idf2-1-1094-122.w90-92.abo.wanadoo.fr [90.92.160.122]) (Authenticated sender: mail@ambrevar.xyz) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id EE48C40002; Tue, 15 Sep 2020 17:02:43 +0000 (UTC) From: Pierre Neidhardt To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#43406: Emacs 27.1 memory consumption grows indefinitely In-Reply-To: <87lfhbrnol.fsf@gnu.org> References: <874ko0b12w.fsf@gnu.org> <87k0wvf7g4.fsf@gnu.org> <87ft7jf7du.fsf@gnu.org> <87bli75c6z.fsf@ambrevar.xyz> <87lfhbrnol.fsf@gnu.org> Date: Tue, 15 Sep 2020 19:02:33 +0200 Message-ID: <87wo0v3rdi.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 43406 Cc: 43406@debbugs.gnu.org, Michael Rohleder , zimoun X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I don't use Gnus, sorry. Can you reproduce on a vanilla configuration (emacs -Q)? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFGBAEBCAAwFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl9g86kSHG1haWxAYW1i cmV2YXIueHl6AAoJEJvc9Jeku8x/AisH/ighE33oi9fO9W244bWLK/LY5jOlKRzB /yvLnQ0F7lM9Ns53iTwJJZw65vwTou5KiYpJDNS5v4zwlBJDhd5glcS4Qo4bAtqw g+VlLPjrdqSdngZzdQBQYbMjTcdlUMMM8uD9dk/c3fcYHHgVMU5DQD0N0d9raRfL SWg3uIoecOiS4qjld8x/b7xYkJdChFa0sBITWUdvnlnTzaerCAy/W/Zg7vCBzH0f 4EV6tkNRaqdxnPrWQuNr2dKuSAClPTg9+5YEgF8yk47VjnTerzQPnIT1L40PYy9j HRyKnBS0KHOO3C26t5xKv9UvehAcapnL894knaEmWSbNIPXRWNuHqCA= =8qIr -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 18 02:53:36 2020 Received: (at 43406) by debbugs.gnu.org; 18 Sep 2020 06:53:36 +0000 Received: from localhost ([127.0.0.1]:40498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJAH2-0004px-KI for submit@debbugs.gnu.org; Fri, 18 Sep 2020 02:53:36 -0400 Received: from sender4-of-o56.zoho.com ([136.143.188.56]:21689) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJAH0-0004pk-5F for 43406@debbugs.gnu.org; Fri, 18 Sep 2020 02:53:35 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1600412011; cv=none; d=zohomail.com; s=zohoarc; b=gOM7TIC/kLJzYpfqS02wghAoqzY32cSO31ovy1PRFz7CE4h1KoEfcfHMINMYs+ugYKnB8v8NEd9s7VuDkCUkxWTCFdN7Lr0n1lyW1BE1ubREfrK/eglEkK0BC2H5WOnlaZBO/Iw17kKf6wllAgcuY+wcYSlKMNT1PB6QYWNZg5A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1600412011; h=Content-Type:Date:From:MIME-Version:Message-ID:Subject:To; bh=bmgk5nmyoU5rdaPqcqaCEUmw2JOqwYK+28lJ9oD+xlg=; b=e0Q/7g0BS+bhoM60B6hiRKEKtQf/C/asvbAMPoXcLdvdv0T2fb98tTWj+oRzt/icVi3E6PT+BS6glEQgH94ueVIw+V9GRmJImkiKRYvHETs/lxCTf/Os9u+rjepCCFY/X+efirQoIsD/8yVQ5PoiWABVdTuNiev6WXme9+5MTf8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=issues.guix.gnu.org@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1600412011; s=zoho; d=elephly.net; i=issues.guix.gnu.org@elephly.net; h=MIME-Version:Content-Type:From:To:Date:Message-ID:Subject; bh=bmgk5nmyoU5rdaPqcqaCEUmw2JOqwYK+28lJ9oD+xlg=; b=FLPkhc9qhYDc6/7r8k6WMDlmeWM62i1BMnRayB+hvjL5uXlP7TS5SB7LQVR2siin w8C8wMslgVsxDAZCENZP524SeXDX3+srIwue08zxRJ/MW/Bto0CYhQTkDAhiBnoi69v NgbCZ/ejjIPT+YwW8UUtI3jsWutJZKrP2lzQYMtI= Received: from localhost (46.19.141.85 [46.19.141.85]) by mx.zohomail.com with SMTPS id 1600412009506244.2686072910643; Thu, 17 Sep 2020 23:53:29 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 From: Eli Zaretskii via web To: 43406@debbugs.gnu.org Date: Fri, 18 Sep 2020 08:53:23 +0200 Message-ID: <7f6cec640620.a886a4eb1532c11@guile.gnu.org> Subject: Emacs 27.1 memory consumption grows indefinitely X-ZohoMailClient: External X-Spam-Score: 3.0 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Please don't use "memory profile" as any indication of the Emacs memory usage: it is entirely unrelated to memory. The Emacs profiler only profiles CPU usage. It samples the PC register using a special signal (SIGPROF), which is the usual method of sampling CPU in profilers. For those systems which don't have SIGP [...] Content analysis details: (3.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [136.143.188.56 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [136.143.188.56 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 3.0 AC_FROM_MANY_DOTS Multiple periods in From user name X-Debbugs-Envelope-To: 43406 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Please don't use "memory profile" as any indication of the Emacs memory usage: it is entirely unrelated to memory. The Emacs profiler only profiles CPU usage. It samples the PC register using a special signal (SIGPROF), which is the usual method of sampling CPU in profilers. For those systems which don't have SIGPROF, it can fall back on sampling the CPU whenever Emacs calls one of the memory allocation functions -- this is called "mem" profiling. So the "memory" profiles shown here don't show memory usage. From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 18 04:23:06 2020 Received: (at control) by debbugs.gnu.org; 18 Sep 2020 08:23:06 +0000 Received: from localhost ([127.0.0.1]:40764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJBfe-0007LD-0T for submit@debbugs.gnu.org; Fri, 18 Sep 2020 04:23:06 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJBfc-0007KO-Hz for control@debbugs.gnu.org; Fri, 18 Sep 2020 04:23:04 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58614) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJBfX-00051O-BN for control@debbugs.gnu.org; Fri, 18 Sep 2020 04:22:59 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=41980 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kJBfW-0004zj-Vf for control@debbugs.gnu.org; Fri, 18 Sep 2020 04:22:59 -0400 Date: Fri, 18 Sep 2020 10:22:57 +0200 Message-Id: <87363f334u.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #43406 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) retitle 43406 Helm 3.6.5 on Emacs 27.1 leaks memory quit From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 18 04:23:16 2020 Received: (at 43406-done) by debbugs.gnu.org; 18 Sep 2020 08:23:16 +0000 Received: from localhost ([127.0.0.1]:40767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJBfo-0007Ld-Ad for submit@debbugs.gnu.org; Fri, 18 Sep 2020 04:23:16 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJBfm-0007LR-N6 for 43406-done@debbugs.gnu.org; Fri, 18 Sep 2020 04:23:15 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58618) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJBfg-00053a-Kc; Fri, 18 Sep 2020 04:23:08 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=41982 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kJBfg-00050W-1P; Fri, 18 Sep 2020 04:23:08 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Joshua Branson Subject: Re: control message for bug #43406 References: <875z8ft719.fsf@gnu.org> <87d02kjbka.fsf@dismail.de> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Jour du Travail de =?utf-8?Q?l'Ann=C3=A9e?= 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 18 Sep 2020 10:23:06 +0200 In-Reply-To: <87d02kjbka.fsf@dismail.de> (Joshua Branson's message of "Thu, 17 Sep 2020 18:14:13 -0400") Message-ID: <871riz334l.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43406-done Cc: 43406-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello! Joshua Branson skribis: > I do think it has to do with helm. I can confirm that disabling > helm-ff-cache with (setq helm-ff-keep-cached-candidates nil) really did > the trick. Same here. A couple of days later, I can confirm that my Emacs has become sane again. Closing! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 18 07:47:31 2020 Received: (at 43406) by debbugs.gnu.org; 18 Sep 2020 11:47:31 +0000 Received: from localhost ([127.0.0.1]:41085 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJErT-0006ci-K5 for submit@debbugs.gnu.org; Fri, 18 Sep 2020 07:47:31 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43262) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJErS-0006cW-0p for 43406@debbugs.gnu.org; Fri, 18 Sep 2020 07:47:30 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42346) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJErM-0005ph-NO for 43406@debbugs.gnu.org; Fri, 18 Sep 2020 07:47:24 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=43118 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kJErL-0006Xk-Pz; Fri, 18 Sep 2020 07:47:24 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Eli Zaretskii Subject: Re: bug#43406: Emacs 27.1 memory consumption grows indefinitely References: <874ko0b12w.fsf@gnu.org> <7f6cec640620.a886a4eb1532c11@guile.gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Jour du Travail de =?utf-8?Q?l'Ann=C3=A9e?= 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 18 Sep 2020 13:47:21 +0200 In-Reply-To: <7f6cec640620.a886a4eb1532c11@guile.gnu.org> (Eli Zaretskii via web's message of "Fri, 18 Sep 2020 08:53:23 +0200") Message-ID: <87r1qzz4qe.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43406 Cc: 43406@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Eli, Eli Zaretskii via web skribis: > Please don't use "memory profile" as any indication of the Emacs memory u= sage: it is entirely unrelated to memory. > > The Emacs profiler only profiles CPU usage. It samples the PC register u= sing a special signal (SIGPROF), which is the usual method of sampling CPU = in profilers. For those systems which don't have SIGPROF, it can fall back= on sampling the CPU whenever Emacs calls one of the memory allocation func= tions -- this is called "mem" profiling. > > So the "memory" profiles shown here don't show memory usage. Understood, that=E2=80=99s the same thing as Guile=E2=80=99s =E2=80=98gcpro= f=E2=80=99. :-) Thanks for your feedback, Ludo=E2=80=99. From unknown Tue Aug 19 11:04:09 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 17 Oct 2020 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator