On 24/03/2025 19:31, Eli Zaretskii
wrote:
Why do you
say this is related to native-compiler?
Sorry that is something I should have mentioned: I started getting
this after upgrading to emacs 30, with it occurring every time an
update was applied, which was frequent after the distro release of
version 30. This is due to the new versions adding and populating a
new .config/emacs/eln-cache/30.x-[commit hash]/
Once it is generated (i.e. emacs has been opened a couple of times,
waited a bit, killed manually once it used too much memory and
reopened) the leak no longer happens. Without restarting emacs the
memory continues to climb and the cpu usage remains even when
everything has been compiled.
The minimal instructions also only work if the eln-cache has been
cleared and needs to be regenerated. If it is run once the 5 files
it compiles are there, nothing will happen.