bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#45705: [feature/native-comp] Excessive memory consumption on windows


From: Eli Zaretskii
Subject: bug#45705: [feature/native-comp] Excessive memory consumption on windows 10
Date: Fri, 08 Jan 2021 16:25:45 +0200

> Date: Wed, 06 Jan 2021 20:55:35 +0000
> Cc: 45705@debbugs.gnu.org
> From: Andrea Corallo via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> > On windows 10, I noticed that emacs could use a lot of memory, up to
> > 6Go and
> > sometimes more. The memory consumption goes up and down from time to
> > time while
> > I am not running any specific program in emacs, apart `lsp-java`
> >
> > As my personal computer has 16Go of RAM, I can afford
> > it. Unfortunately, my work
> > computer has much less and the whole compute completely freezes at one
> > point
> > when using emacs.
> >
> > I did not notice that behavior on linux. I do not know if the master
> > branch has
> > the same problem. What could be the problem ?
> 
> Hi Édouard,
> 
> AFAIK was never proved recently Emacs garbage collector is failing to
> recall memory, so I guess this is just some Lisp program that is
> allocating a lot of memory keeping then those objects referenced.

IME, 6 GiB is too much for any Lisp program to explain away.

Also, the memory allocator we use on Windows is known to return memory
to the OS more than glibc on GNU/Linux.  I have never seen my Emacs
session get anywhere near 1 GiB, let alone more, and my sessions run
for many weeks without restarting.

Can you tell what kind of memory footprints you see on your system
with the native-comp branch, after running the session for several
days or more?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]