Subject: Emacs 27.1 memory consumption grows indefinitely

From: Eli Zaretskii via web <[email-masked]>
Date: Fri, 18 Sep 2020 08:53:23 +0200

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.