GNU bug report logs - #77240
30.1; Native-comp causing large memory leak

Previous Next

Package: emacs;

Reported by: N Winkel <nw1905 <at> outlook.com>

Date: Mon, 24 Mar 2025 16:46:02 UTC

Severity: normal

Found in version 30.1

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: N Winkel <nw1905 <at> outlook.com>, Juri Linkov <juri <at> linkov.net>
Cc: Eli Zaretskii <eliz <at> gnu.org>, Andrea Corallo <acorallo <at> gnu.org>, 77240 <at> debbugs.gnu.org
Subject: bug#77240: 30.1; Native-comp causing large memory leak
Date: Tue, 1 Apr 2025 16:42:32 +0200
> That appears to resolve it, while still showing the warning buffer
> at the bottom of the window, which is slightly confusing.

It at least seems narrows down the list of potential culprits.  What
precisely is confusing about the buffer?  That it appears at the bottom
of the frame?

Anyway.  Please, apply the following diff

diff --git a/lisp/emacs-lisp/warnings.el b/lisp/emacs-lisp/warnings.el
index 8a5c73ebd3a..d773fb46aec 100644
--- a/lisp/emacs-lisp/warnings.el
+++ b/lisp/emacs-lisp/warnings.el
@@ -291,6 +291,7 @@ display-warning
     (or (< (warning-numeric-level level)
 	   (warning-numeric-level warning-minimum-log-level))
 	(warning-suppress-p type warning-suppress-log-types)
+	(> (buffer-size) 10000)
 	(let* ((typename (if (consp type) (car type) type))
 	       (old (get-buffer buffer-name))
 	       (buffer (or old (get-buffer-create buffer-name)))

which should simply stop warning when the buffer has become too large.
Then post the contents of the *Warnings* buffer here.

martin





This bug report was last modified 138 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.