Subject: Re: bug#79023: 30.1.90; Suspicion of memory leak on internal_redisplay (MacOS)

From: Eli Zaretskii <[email-masked]>
Date: Tue, 22 Jul 2025 15:38:56 +0300

> From: Rudolf Adamkovič <[email-masked]>
> Cc: [email-masked]
> Date: Mon, 21 Jul 2025 21:16:34 +0200
> 
> Eli Zaretskii <[email-masked]> 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.

FTR: that's what I see here (not on macOS).

So this is definitely macOS-specific.