From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: tv.raman.tv@gmail.com
Cc: emacs-devel@gnu.org
Subject: Re: Memory Leak was: Re: Update on the Emacs release schedule? 8 messages
Date: Sun, 08 Jan 2012 09:23:37 -0500 [thread overview]
Message-ID: <jwv62gmi8ep.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <20233.3395.93384.91217@gargle.gargle.HOWL> (T. V. Raman's message of "Sat, 7 Jan 2012 19:28:03 -0800")
> Before starting Emacs: `free' shows 2gb in use.
FWIW, "free" is not a very good tool to track the memory use of
a specific process. Better check the VSZ and RSS of the process itself
(and note that RSS can stay stable even in the presence of a leak,
so VSZ is important).
> Start Emacs 24 -- with just emacspeak loaded -- no immediate
> signs of a leak -- `free' shows abut 6gb in use -- which does
> seem a lot.
What is Emacs's RSS and/or VSZ at startup?
> M-x shell in that emacs
> and wait for a couple of minutes.
> Running `free' on a separate terminal shows that all 12GB of
> memory in use -- emacs RSS is at 10GB.
> If you dont kill the runnning emacs-24 at that point, it brings
> the workstation to its knees and the machine stops responding and
> needs to be rebooted.
So you're saying that "emacs -Q" plus emacspeak plus "M-x shell" results
on this machine in a process hat keeps growing even if you leave
it alone?
Could you run it under GDB (from the `emacs/src' directory) and
interrupt the process (with C-z) every once in a while to try and see
what it's doing?
Stefan
next prev parent reply other threads:[~2012-01-08 14:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-08 3:28 Memory Leak was: Re: Update on the Emacs release schedule? 8 messages T. V. Raman
2012-01-08 14:23 ` Stefan Monnier [this message]
2012-01-18 0:39 ` T.V. Raman
2012-01-25 19:36 ` T.V. Raman
2012-01-25 14:52 ` Nix
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=jwv62gmi8ep.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=tv.raman.tv@gmail.com \
/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).