From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "T.V. Raman" Newsgroups: gmane.emacs.devel Subject: Memory Leak was: Re: Update on the Emacs release schedule? 8 messages Date: Wed, 25 Jan 2012 11:36:23 -0800 Message-ID: References: <20233.3395.93384.91217@gargle.gargle.HOWL> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1327520193 6504 80.91.229.12 (25 Jan 2012 19:36:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 25 Jan 2012 19:36:33 +0000 (UTC) To: Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 25 20:36:29 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rq8dw-0005Vs-8N for ged-emacs-devel@m.gmane.org; Wed, 25 Jan 2012 20:36:28 +0100 Original-Received: from localhost ([::1]:51876 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq8dv-000438-O7 for ged-emacs-devel@m.gmane.org; Wed, 25 Jan 2012 14:36:27 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:35566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq8dt-00041w-Gf for emacs-devel@gnu.org; Wed, 25 Jan 2012 14:36:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rq8ds-0005dH-4Z for emacs-devel@gnu.org; Wed, 25 Jan 2012 14:36:25 -0500 Original-Received: from mail-gx0-f169.google.com ([209.85.161.169]:33532) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq8ds-0005cK-21 for emacs-devel@gnu.org; Wed, 25 Jan 2012 14:36:24 -0500 Original-Received: by mail-gx0-f169.google.com with SMTP id k5so3189427ggn.0 for ; Wed, 25 Jan 2012 11:36:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=vbVtvoGf56W5lrLJ9glUm040QLz3cdY6QlNC2f1SAko=; b=Q2ABXG0mZPvicuo2yEpD3AfLSKZSRRCad4iggFTe8pgzil8tjxnzMacZdS0JrV937i T+6daHujqhd5/6d3L8NtqWuhfSF+rbt9fgEm+yojD9uuJ8lOKUVU0IHjLI3dYChezPuI P1dU6pdSgcjENSfjnEP+UETQHAjCODaYd4bU4= Original-Received: by 10.50.77.234 with SMTP id v10mr7671127igw.29.1327520183144; Wed, 25 Jan 2012 11:36:23 -0800 (PST) Original-Received: by 10.231.35.138 with HTTP; Wed, 25 Jan 2012 11:36:23 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.161.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:147923 Archived-At: Hi Stephane, I just installed the emacs 23.4 prebuild on the workstation that shows the memory leak with emacs-24 from git, and am happy to report there is no leak. On 1/8/12, Stefan Monnier wrote: >> 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 >