emacs-devel
[Top][All Lists]
Advanced

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

Re: a few questions on current development master


From: Stefan Monnier
Subject: Re: a few questions on current development master
Date: Sun, 10 Mar 2019 14:29:19 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> 1) Memory issues. In almost no time it ate >6Gb of RSS and around 8GB or
>    Virtual RAM. My OS: linux/arch, all default compilation options (no
>    change to conigure flags).

Sounds like there's a bad leak.

>    I will keep my eye on memory profiling, and will report more exact
>    issues (profiler-start ram), any advice here?

We don't have a memory profiler: (profiler-start 'mem) simply uses
memory allocation as an approximation of time, but your problem is
likely not due to memory allocation but a lack of memory reclamation
(i.e. a leak).

>    Also, quite strange that I've closed all buffers and still see that
>    it consumes 6GB or RAM.  Any documention how actually emacs returns
>    RAM to host O/S ?

Returning memory to the OS can happen sometimes depending on lots of
different details, but it's basically irrelevant to your problem: If
there's a good reason why it got to 6GB, then returning to a smaller
size is good, but not indispensable.  In your particular situation, IIUC
Emacs should simply not have gotten to 6GB in the first place.

> Should I just report all those as separte bugs via M-x report-emacs-bug?

Yes, please,


        Stefan




reply via email to

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