From: "Ami Fischman" <ami@fischman.org>
To: "Chong Yidong" <cyd@stupidchicken.com>
Cc: emacs-devel@gnu.org
Subject: Re: how do you track down emacs memory leaks?
Date: Mon, 3 Nov 2008 07:24:19 -0800 [thread overview]
Message-ID: <9aa0cfde0811030724s2ee667e2l59cc94a97e4fc1f@mail.gmail.com> (raw)
In-Reply-To: <87d4hclu5q.fsf@cyd.mit.edu>
> Does this problem only show up when you use gnus?
Yes.
> Could you try keeping
> another Emacs session around for other non-gnus usage, and see if it
> leaks memory?
I have and it doesn't. At least not nearly at the rate that the
gnus-using session does.
I updated my version of gnus from ngnus-0.10 to CVS head yesterday and
the leak seems to have slowed down significantly - only about 8MB
overnight. So I suspect some trigger has been coincidentally
suppressed, but it seems that no elisp code should be able to cause
emacs to grow in memory usage disproportional to the numbers reported
by memory-usage, so there is still probably a lurking leak in emacs.
Do you have any tools/techniques you use to track down C-level leaks?
Do you have any tools/techniques to attribute the numbers in
memory-usage? I.e. if you see "bytes in cons cells" go up
dramatically, any way to take snapshots of this data and then analyze
the difference visually or programmatically?
-a
next prev parent reply other threads:[~2008-11-03 15:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-02 4:05 how do you track down emacs memory leaks? Ami Fischman
2008-11-03 15:13 ` Chong Yidong
2008-11-03 15:24 ` Ami Fischman [this message]
2008-11-04 16:59 ` Chong Yidong
2008-12-20 16:27 ` Ami Fischman
2008-12-20 17:38 ` Leo
2008-12-20 20:39 ` Chong Yidong
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9aa0cfde0811030724s2ee667e2l59cc94a97e4fc1f@mail.gmail.com \
--to=ami@fischman.org \
--cc=cyd@stupidchicken.com \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.