From: "Óscar Fuentes" <ofv@wanadoo.es>
To: emacs-devel@gnu.org
Subject: Any way of dumping strings?
Date: Wed, 02 Jun 2021 19:03:06 +0200 [thread overview]
Message-ID: <87zgw8b3n9.fsf@telefonica.net> (raw)
I'm trying to diagnose a memory leak. As it is used Emacs requires more
memory, an average of a several tens of MB per hour. Right now it is
using ~1GB and `memory-report' shows:
207.8 MiB Vectors
83.7 MiB Strings
I terminated the previous session after reaching ~2GB with >700MB
vectors and >300MB strings.
In case the culprit is some package, looking at those strings or vectors
could be revealing.
Is there a method for dumping or displaying those strings or vectors?
next reply other threads:[~2021-06-02 17:03 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-02 17:03 Óscar Fuentes [this message]
2021-06-02 17:24 ` Any way of dumping strings? Eli Zaretskii
2021-06-02 17:54 ` Óscar Fuentes
2021-06-02 18:16 ` Eli Zaretskii
2021-06-02 18:33 ` Óscar Fuentes
2021-06-02 18:44 ` Eli Zaretskii
2021-06-02 18:38 ` Stefan Monnier
2021-06-02 18:55 ` Óscar Fuentes
2021-06-02 19:30 ` Stefan Monnier
2021-06-03 6:08 ` 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=87zgw8b3n9.fsf@telefonica.net \
--to=ofv@wanadoo.es \
--cc=emacs-devel@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/emacs.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).