From: Jean Louis <bugs@gnu.support>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to debug memory leaks
Date: Thu, 25 Mar 2021 18:01:14 +0300 [thread overview]
Message-ID: <YFyluu4P75T1gvc/@protected.localdomain> (raw)
In-Reply-To: <jwvsg4jco3t.fsf-monnier+emacs@gnu.org>
* Stefan Monnier <monnier@iro.umontreal.ca> [2021-03-25 17:24]:
> >> It's unlikely.
> > Yet, it happened--more than once (did you notice that I said "my Emacs
> > setup" and not "Emacs"?). The good news: it's not happening anymore :)
>
> "unlikely" that this is a memory leak. Not unlikely that it happens.
>
> > Mono font, and Emacs behaved well. It was really loading the TAGS which
> > added like 400 MB on the stack (virtual and resident--yeah, sounds unlikely,
> > right?). Therefore, I went to look for an alternative.
>
> Using a lot of memory is not the same as having a memory leak.
>
> When you take a bath you will typically consume several hundred liters
> of water. Would you call that a leak?
:-)
My water tank is leaking if somebody can help...
But memory is also not "leaking", so chips are normally there and
remain usable for next time. Leaking is probably when it goes out of
defined containment. But what is the containment?
We had a long thread on this and tried to debug but I do not know how
it ended, I have done my best.
What I can observe now since I switched from Hyperbola GNU/Linux-libre
to Parabola GNU/Linux-libre is that my Emacs uptime is more than 9
days. And I do use helm and helm-system-packages, as when I used those
previously I had such a huge swapping and impossibility to use the OS
to the point that I had to shut it down physically.
So maybe that memory effects, whatever they are, leaking, plumbing,
I do not observe it now, but who knows...
Jean
next prev parent reply other threads:[~2021-03-25 15:01 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-25 5:29 How to debug memory leaks edgar
2021-03-25 14:23 ` Stefan Monnier
2021-03-25 15:01 ` Jean Louis [this message]
2021-03-25 15:18 ` Stefan Monnier
2021-03-25 20:15 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-25 17:54 ` edgar
2021-03-25 18:26 ` Stefan Monnier
2021-03-25 19:38 ` Jean Louis
2021-03-25 22:24 ` edgar
2021-03-26 5:48 ` Robert Thorpe
2021-03-26 5:58 ` edgar
2021-03-26 14:11 ` Stefan Monnier
2021-03-26 14:17 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-26 14:23 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-26 14:57 ` Arthur Miller
2021-03-26 15:02 ` Eli Zaretskii
2021-03-26 15:09 ` Arthur Miller
2021-03-26 15:33 ` Eli Zaretskii
2021-03-26 15:53 ` Arthur Miller
2021-03-26 16:03 ` Eli Zaretskii
2021-03-26 16:11 ` Arthur Miller
2021-03-26 16:25 ` Stefan Monnier
2021-03-26 16:32 ` Arthur Miller
2021-03-26 16:44 ` Stefan Monnier
2021-03-26 18:02 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-26 18:31 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-27 8:20 ` Arthur Miller
2021-03-27 15:03 ` Stefan Monnier
2021-03-27 15:13 ` Arthur Miller
2021-03-27 15:30 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-03-26 15:10 ` boost interactive feel speed (was: Re: How to debug memory leaks) Emanuel Berg via Users list for the GNU Emacs text editor
-- strict thread matches above, loose matches on Subject: below --
2021-03-25 22:21 How to debug memory leaks edgar
2021-03-21 18:17 edgar
2021-03-21 18:25 ` 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=YFyluu4P75T1gvc/@protected.localdomain \
--to=bugs@gnu.support \
--cc=help-gnu-emacs@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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).