GNU bug report logs -
#77240
30.1; Native-comp causing large memory leak
Previous Next
Full log
View this message in rfc822 format
N Winkel <nw1905 <at> outlook.com> writes:
> 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.
My impression is that you are just observing libgccjit running in
background while we are populating the eln cache. How long have you
tried waiting for the compilation to finish (and the memory to be
released) before coming to the conlusion this is a memory leak?
Thanks
Andrea
This bug report was last modified 138 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.