From: "Eli Zaretskii" <eliz@is.elta.co.il>
Cc: emacs-devel@gnu.org
Subject: Re: Ideas for debugging excessive garbage collection bugs?
Date: Sun, 10 Nov 2002 00:26:32 +0300 [thread overview]
Message-ID: <1659-Sun10Nov2002002629+0200-eliz@is.elta.co.il> (raw)
In-Reply-To: <5.1.1.6.2.20021108113425.02089a28@pophost.synopsys.com> (William.Foster@synopsys.com)
> From: "William K. Foster" <William.Foster@synopsys.com>
> Date: Fri, 08 Nov 2002 11:36:30 -0800
>
> How do I debug the source of allocations in Emacs?
You could invoke (print (garbage-collect)) frequently and find the
part of its report that grows the most. That would tell you what
objects are being consed very frequently. Then you could put a
breakpoint at the C function which allocates that type of Lisp
objects, and see what the backtrace shows when the breakpoint is hit.
next prev parent reply other threads:[~2002-11-09 21:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-08 18:18 Ideas for debugging excessive garbage collection bugs? William K. Foster
2002-11-08 19:19 ` Stefan Monnier
2002-11-08 19:36 ` William K. Foster
2002-11-09 21:26 ` Eli Zaretskii [this message]
2002-11-10 18:07 ` Richard Stallman
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=1659-Sun10Nov2002002629+0200-eliz@is.elta.co.il \
--to=eliz@is.elta.co.il \
--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).