From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Manuel Giraud via Users list for the GNU Emacs text editor Newsgroups: gmane.emacs.help Subject: Re: How much memory to debug Emacs nowadays? Date: Fri, 01 Dec 2023 21:01:21 +0100 Message-ID: <87jzpxg0a6.fsf@ledu-giraud.fr> References: <87o7f9g4se.fsf@ledu-giraud.fr> <8334wlai06.fsf@gnu.org> Reply-To: Manuel Giraud Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2637"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 01 21:02:07 2023 Return-path: Envelope-to: geh-help-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 1r99iA-0000RK-C6 for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 01 Dec 2023 21:02:06 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r99ha-0000Cn-Br; Fri, 01 Dec 2023 15:01:30 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r99hY-0000CW-5z for help-gnu-emacs@gnu.org; Fri, 01 Dec 2023 15:01:28 -0500 Original-Received: from ledu-giraud.fr ([51.159.28.247]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r99hV-0007Kq-U5; Fri, 01 Dec 2023 15:01:27 -0500 DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=PS9shYwy rjjE6srLSpERcGDzM4kTI+NnvTxLxYRye20=; h=date:references:in-reply-to: subject:cc:to:from; d=ledu-giraud.fr; b=aDzQluB3IEkooG+AJTQ4Uat70XhpMq wstQFxs4mCGIek0WpPwTFQJ4wWH+TYmQU1sJNfIRaWA4oe0qGRqs2rDw== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=PS9shYwyrjjE6srL SpERcGDzM4kTI+NnvTxLxYRye20=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=cbHJVZDc/ZX6YexCoL/IfhDN0OxjopvsEOLBX3 A/rkGhXWStm4WKCTEUPZTM5nIfpRUy2xc/A+b/tlQc4+OgSE9beEP7HV1ddyj2+bR11u2I mibSRfnmi1Ukk81Z5Xir6J8hvVyy/ECnn8Xa7FfwgynvNiP9YtYgvRmdqU5EBn+XUj+Br5 HsA8xMZjzd4detYEt/LfprwKL93TF1hGqyt1f7kTotRyvoz2DeV94FXcBJMr3f6vzylL/c BgpLby3KuJrHq+PUzkplZ3eoTmofaVEnUaT7TM3KGMvdGrczB7ff4/x3CKzNhA2bVvlF5F DH2Px8S1fXAbN6k3vvy6db6g== Original-Received: from computer ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 8fc27632 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 1 Dec 2023 21:01:22 +0100 (CET) In-Reply-To: <8334wlai06.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 01 Dec 2023 20:35:05 +0200") Received-SPF: pass client-ip=51.159.28.247; envelope-from=manuel@ledu-giraud.fr; helo=ledu-giraud.fr 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:145600 Archived-At: Eli Zaretskii writes: [...] > Something on your side, I'd say. Just starting "emacs -Q" under GDB > takes only between 100MB and 130MB (depending on whether Emacs is > built without or with native-compilation) of memory for GDB on my > system. (This is GDB 13.1, but I doubt that the GDB version could > matter that much.) Thanks, that is reassuring. > Does GDB allocate memory right at the beginning, or when you do > something specific in Emacs? Also, do you invoke "emacs -Q" from GDB > or do you run Emacs with all your customizations? No I did a "set args -Q". It starts to allocate lot of memory when I call "run". -- Manuel Giraud