unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Madhu <enometh@meer.net>
To: help-gnu-emacs@gnu.org
Subject: Re: memory leaks
Date: Mon, 14 Sep 2020 15:36:57 +0530	[thread overview]
Message-ID: <m35z8gise6.fsf@leonis4.robolove.meer.net> (raw)
In-Reply-To: <jwvh7s1780o.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Sun, 13 Sep 2020 16:14:36 -0400")


* Stefan Monnier <jwvh7s1780o.fsf-monnier+emacs@gnu.org> :
Wrote on Sun, 13 Sep 2020 16:14:36 -0400:
> The `garbage-collect` command actually can return info about the current
> Lisp heap use.  The `memory-usage` package can display it in a more
> user-friendly format.
>
> That can be very useful to see if those 500MB belong to the Lisp heap or
> to ... something else (typically libraries, like those of the GUI or
> those used to display images).

The numbers I reported by garbage-collect do not account for the memory
usage. FWIW I've posted that info again at
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=43395

In 2019 i suspected the culprit was the fonts system.  It doesn't seem
to be toolkit related. I don't use emacs as an imageviewer (but I have
to check that). Since the interest in CONFIG_PSI there are a number of
tools on github that monitor memory - it should be possible to come up
with some tool that alerts emacs of memory surges while keeping some
history.



  reply	other threads:[~2020-09-14 10:06 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-20  7:23 memory leaks Madhu
2019-09-20  8:00 ` Jean-Christophe Helary
2019-09-20  8:11 ` Eli Zaretskii
     [not found]   ` <mailman.572.1568967069.2190.help-gnu-emacs@gnu.org>
2019-09-20  8:31     ` Madhu
2019-09-20  9:21       ` Eli Zaretskii
     [not found]         ` <mailman.578.1568971399.2190.help-gnu-emacs@gnu.org>
2020-09-12 13:02           ` Madhu
2020-09-12 13:39             ` Eli Zaretskii
2020-09-12 13:55               ` Michael Heerdegen
2020-09-12 14:09                 ` Eli Zaretskii
2020-09-12 19:14               ` Igor Sosa Mayor
2020-09-12 19:26                 ` Eli Zaretskii
2020-09-12 19:28                   ` Igor Sosa Mayor
2020-09-13  2:30                     ` Eli Zaretskii
2020-09-13  3:17                   ` Madhu
2020-09-13 14:14                     ` Eli Zaretskii
2021-01-21  9:28                       ` Madhu
2020-09-13 20:14                     ` Stefan Monnier
2020-09-14 10:06                       ` Madhu [this message]
2020-11-09 17:50                         ` Madhu
2022-03-04 11:32                           ` Eli Zaretskii
2022-03-06 10:59                             ` Madhu
2022-03-06 11:15                               ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2020-11-10  1:24 Madhu
2020-11-10 15:16 ` Eli Zaretskii

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://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=m35z8gise6.fsf@leonis4.robolove.meer.net \
    --to=enometh@meer.net \
    --cc=help-gnu-emacs@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.
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).