bug-guix
[Top][All Lists]
Advanced

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

bug#43406: Emacs 27.1 memory consumption grows indefinitely


From: Ludovic Courtès
Subject: bug#43406: Emacs 27.1 memory consumption grows indefinitely
Date: Fri, 18 Sep 2020 13:47:21 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Hi Eli,

Eli Zaretskii via web <issues.guix.gnu.org@elephly.net> skribis:

> Please don't use "memory profile" as any indication of the Emacs memory 
> usage: it is entirely unrelated to memory.
>
> The Emacs profiler only profiles CPU usage.  It samples the PC register using 
> a special signal (SIGPROF), which is the usual method of sampling CPU in 
> profilers.  For those systems which don't have SIGPROF, it can fall back on 
> sampling the CPU whenever Emacs calls one of the memory allocation functions 
> -- this is called "mem" profiling.
>
> So the "memory" profiles shown here don't show memory usage.

Understood, that’s the same thing as Guile’s ‘gcprof’.  :-)

Thanks for your feedback,
Ludo’.





reply via email to

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