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: How much memory to debug Emacs nowadays? Date: Fri, 01 Dec 2023 19:24:01 +0100 Message-ID: <87o7f9g4se.fsf@ledu-giraud.fr> 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="32576"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 01 19:24:48 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 1r98By-0008Fv-FQ for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 01 Dec 2023 19:24:46 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r98BN-0002xf-LL; Fri, 01 Dec 2023 13:24:09 -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 1r98BL-0002wn-Ed for help-gnu-emacs@gnu.org; Fri, 01 Dec 2023 13:24:07 -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 1r98BJ-0000RH-8Y for help-gnu-emacs@gnu.org; Fri, 01 Dec 2023 13:24:07 -0500 DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=qgBvpsJ7 4ULtOhztL93L7reQh4CVXOhHdXfFHXK+WzM=; h=date:subject:to:from; d=ledu-giraud.fr; b=QNWQ8iYzVtA0WaqONVxMC7TRrfKRApd2OptnAubpreezaSc0W4 QHcxsNx9FTiOLaA9mR23hLJ62Q+4SF6nYFBA== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=qgBvpsJ74ULtOhzt L93L7reQh4CVXOhHdXfFHXK+WzM=; h=date:subject:to:from; d=ledu-giraud.fr; b=XgJEXxD6fCkauYBMxcR5wGyWiAX2SPOEJcMiRB6cOl+e/KuTFE 4zHBKFavtMtmOVTldaiAYfkbvfH4szu1WXR8ZFFlwsrr2BNKfem79mNDE9QF194l2TF1Xw STsD8TlLHpHLe/WfECp/G2Ilk7f5Rxfqfah5/jmLgDwyFjccbYw75zQzFIeQwqEM8mX4mj lU5syzMYONt58bO00l2LxTq/qZfLaHqX3cmh9UyLig9dze8JPmjKnYF3RdSbb7eqjWMmHd yr7iyzhG+fpbdRM52gCcyv0kfRzCvgelc4EVr3t4+vNTRlvjD8yc3Yjk7oH0UYUDxTGmEW lkkRGeIfjdjw== Original-Received: from computer ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 9c965cc9 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Fri, 1 Dec 2023 19:24:02 +0100 (CET) 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:145598 Archived-At: Hi, I was trying to debug Emacs into GDB 9.2 (through M-x gdb into another Emacs). As instructed by etc/DEBUG, I have compiled it with "-O0 -g3". But when I'm running this debugged Emacs, GDB starts to allocates *lots* of memory (nearly 4GB) and now I regurlarly end up with the following error: Recursive internal problem. I say "now" because this used to work flawlessly some months ago. My question is: Is 4GB for debugging Emacs expected or is something misconfigured on my side? Thanks, -- Manuel Giraud