GNU bug report logs - #79023
30.1.90; Suspicion of memory leak on internal_redisplay (MacOS)

Previous Next

Package: emacs;

Reported by: Przemysław Alexander Kamiński <przemyslaw <at> kaminski.se>

Date: Tue, 15 Jul 2025 07:14:01 UTC

Severity: normal

Found in version 30.1.90

Full log


Message #59 received at 79023 <at> debbugs.gnu.org (full text, mbox):

From: Rudolf Adamkovič <rudolf <at> adamkovic.org>
To: Eli Zaretskii <eliz <at> gnu.org>, Przemysław Alexander
 Kamiński <przemyslaw <at> kaminski.se>
Cc: 79023 <at> debbugs.gnu.org
Subject: Re: bug#79023: 30.1.90; Suspicion of memory leak on
 internal_redisplay (MacOS)
Date: Mon, 21 Jul 2025 21:16:34 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

> Then let's hear from other macOS users: does anyone else who uses
> Emacs on macOS have similar experience wrt the Emacs memory footprint?

+1 I am on MacOS and my Emacs uses 2-4 GB RAM when in light use.

P.S. Not sure if this is relevant but:

  Reproduction steps:

  1. emacs -Q
  2. evaluate in *scratch* the form:
  
     (dotimes (x 1000)
       (let ((frame (make-frame-command)))
         (sleep-for 0.01)
         (delete-frame frame)))
  
  Expected:

    Emacs uses ~60 MB of RAM (again), per the Activity Monitor.
  
  Actual:

    Emacs uses 9.87 GB of RAM (10 minutes later, no change)

Rudy
-- 
"Programming reliably -- must be an activity of an undeniably
mathematical nature […] You see, mathematics is about thinking, and
doing mathematics is always trying to think as well as possible."
--- Edsger W. Dijkstra, 1981

Rudolf Adamkovič <rudolf <at> adamkovic.org> [he/him]
http://adamkovic.org




This bug report was last modified 1 day ago.

Previous Next


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