emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Memory Leak was: Re: Update on the Emacs release schedule? 8 message


From: Stefan Monnier
Subject: Re: Memory Leak was: Re: Update on the Emacs release schedule? 8 messages
Date: Sun, 08 Jan 2012 09:23:37 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]