From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: How to debug elisp memory leak
Date: Mon, 04 Oct 2004 14:33:49 GMT [thread overview]
Message-ID: <jwv1xgeo8xn.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: 2hekkhjrr8.fsf@vserver.cs.uit.no
> You mentioned a fix in the works for this problem, what is the status
> of this? My emacs is from /usr/ports as of june 1. 2004, and the
> FreeBSD is 4.8-RELEASE.
The fix for that problem is installed in the Emacs-CVS trunk (and will thus
be in the next major Emacs release).
Of course, along with the memory-usage.el, it's always worthwhile to check
the size(s) of the process as reported by `ps' (i.e. things like VM and RSS).
7MB of gaps for 10MB of memory is clearly not an efficient use of memory
(and IIRC the Emacs-CVS code should perform better in this respect as well),
but 10MB should not be a cause for a "lisp pointer size" warning (which
should be closer to the 100MB order of magnitude on your Emacs). So maybe
it's got to do with FreeBSD's memory layout which interacts badly with
Emacs's, or it can be that the extra memory used is not found by
memory-usage.el (which is why the `ps' stats are important).
Stefan
next prev parent reply other threads:[~2004-10-04 14:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-16 14:45 How to debug elisp memory leak Frode Vatvedt Fjeld
2004-09-17 18:14 ` Stefan Monnier
2004-09-20 12:23 ` Frode Vatvedt Fjeld
2004-10-02 10:33 ` Frode Vatvedt Fjeld
2004-10-02 10:51 ` Frode Vatvedt Fjeld
2004-10-02 11:15 ` Frode Vatvedt Fjeld
2004-10-04 14:33 ` Stefan Monnier [this message]
2004-10-03 12:53 ` Florian Weimer
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=jwv1xgeo8xn.fsf-monnier+gnu.emacs.help@gnu.org \
--to=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).