Subject: bug#43389: 28.0.50; Emacs memory leaks

From: Eli Zaretskii <[email-masked]>
Date: Tue, 17 Nov 2020 23:10:19 +0200

> From: Florian Weimer <[email-masked]>
> Cc: [email-masked],  [email-masked],  [email-masked]
> Date: Tue, 17 Nov 2020 21:58:57 +0100
> 
> (let ((size 0))
>   (dolist (buffer (buffer-list) size)
>     (setq size (+ size (buffer-size buffer)))))
> ⇒ 98249826
> 
> So it's not a small number, but still far away from those 800 MiB.

Yes.  I have a very similar value: 94642916 (in 376 buffers; you have
more than 1000).  This is in a session that runs for 17 days and whose
VM size is 615 MB: a "normal" size for a long-living session, nowhere
near 2GB, let alone 11GB someone reported.