Subject: bug#43876: Emacs uses excessive memory

From: Eli Zaretskii <[email-masked]>
Date: Fri, 09 Oct 2020 09:58:24 +0300

merge 43876 43389
thanks

> From: Naveed Chehrazi <[email-masked]>
> Date: Thu, 8 Oct 2020 19:53:02 -0500
> 
> I had two instances where my emacs was using an excessive amount of memory (once about 45GiB, and
> once using 94GiB). I have the memory-profiler report below. It appears that helm package is the cause,

Please disregard the profiler results: it doesn't measure memory
consumption, not at all.

What would be beneficial for this and similar bug reports (see
bug#43389) is to describe what you are doing when memory footprint of
the Emacs process grows significantly.  That might give some ideas
about where to look for the culprit(s).

Do you have some customizations that change gc-cons-threshold?