unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii via web <issues.guix.gnu.org@elephly.net>
To: 43406@debbugs.gnu.org
Subject: bug#43406: Emacs 27.1 memory consumption grows indefinitely
Date: Fri, 18 Sep 2020 08:53:23 +0200	[thread overview]
Message-ID: <7f6cec640620.a886a4eb1532c11@guile.gnu.org> (raw)
In-Reply-To: <874ko0b12w.fsf@gnu.org>

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.






  parent reply	other threads:[~2020-09-18  8:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-14 19:38 bug#43406: Emacs 27.1 memory consumption grows indefinitely Ludovic Courtès
2020-09-14 20:40 ` Mark H Weaver
2020-09-14 21:56 ` Ricardo Wurmus
2020-09-14 22:11   ` zimoun
2020-09-15 14:19 ` Ludovic Courtès
2020-09-15 14:21   ` Ludovic Courtès
2020-09-15 14:47     ` Pierre Neidhardt
2020-09-15 16:48       ` Ludovic Courtès
2020-09-15 17:02         ` Pierre Neidhardt
2020-09-15 14:45   ` Michael Rohleder
2020-09-18  6:53 ` Eli Zaretskii via web [this message]
2020-09-18 11:47   ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7f6cec640620.a886a4eb1532c11@guile.gnu.org \
    --to=issues.guix.gnu.org@elephly.net \
    --cc=43406@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).