Gnus development mailing list
 help / color / mirror / Atom feed
From: Dave Love <d.love@dl.ac.uk>
Subject: Re: Lisp pointer size warning?
Date: Thu, 12 Jun 2003 23:28:53 +0100	[thread overview]
Message-ID: <rzqsmqf7wwq.fsf@albion.dl.ac.uk> (raw)
In-Reply-To: <uof17ioxw.fsf@adobe.com>

Danny Siu <dsiu@adobe.com> writes:

> Is there any lisp level stuff for tracing where the memory goes without
> resorting into gdb?

Well, the first thing you want to do is to find out what type of
object is taking most of it and whether there are vast numbers of
things on the freelists for some reason:

(garbage-collect)
  => ((462989 . 39897) (28247 . 9) (1833 . 5746) 1467501 674844 (544 . 287) (8551 . 1062) (59665 . 5414))

Obviously you can grovel the obarray and, for instance, examine the
aggregate objects in all the value slots, but you probably can't do
the job fully at the Lisp level.  There is no specific heap profiling
facility anyhow, though there is execution profiling support which
could tell you the frequency with which the various allocators are
called, and setting `garbage-collection-messages' can show up
operations which cons even more than normal for Gnus.



  reply	other threads:[~2003-06-12 22:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-05 16:19 Mattias Ahnberg
2003-06-05 20:51 ` Kai Großjohann
2003-06-09  2:46   ` Danny Siu
2003-06-09  9:18     ` Kai Großjohann
2003-06-09  9:24       ` Danny Siu
2003-06-12 22:28         ` Dave Love [this message]
2003-06-09 10:42     ` Mattias Ahnberg

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=rzqsmqf7wwq.fsf@albion.dl.ac.uk \
    --to=d.love@dl.ac.uk \
    /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 NNTP newsgroup(s).