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: Sat, 7 Jan 2012 19:28:03 -0800 Message-ID: <20233.3395.93384.91217@gargle.gargle.HOWL> Reply-To: tv.raman.tv@gmail.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1325993296 6499 80.91.229.12 (8 Jan 2012 03:28:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 8 Jan 2012 03:28:16 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 08 04:28:13 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 1RjjQa-0008Tb-6t for ged-emacs-devel@m.gmane.org; Sun, 08 Jan 2012 04:28:12 +0100 Original-Received: from localhost ([::1]:45432 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjjQZ-0007P3-B3 for ged-emacs-devel@m.gmane.org; Sat, 07 Jan 2012 22:28:11 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:45389) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjjQW-0007Oy-E6 for emacs-devel@gnu.org; Sat, 07 Jan 2012 22:28:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjjQV-0002Aj-HK for emacs-devel@gnu.org; Sat, 07 Jan 2012 22:28:08 -0500 Original-Received: from mail-iy0-f169.google.com ([209.85.210.169]:52522) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjjQV-0002Ad-7g for emacs-devel@gnu.org; Sat, 07 Jan 2012 22:28:07 -0500 Original-Received: by iacb35 with SMTP id b35so5704533iac.0 for ; Sat, 07 Jan 2012 19:28:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:content-type:content-transfer-encoding:message-id:date :to:subject:x-mailer:reply-to:from:x-attribution; bh=MqUVHlX84xQxTwUXcJeZfAxeHOuuje8sHn8yw04IPuI=; b=LWFjbwJq8hBXg4XWxuEgA8+u94Lx61Zyii0UQJrDlaGTeYBzcHmJtxeKCTxMGpMXOn aUN6vkdboGNYG6lc+e/Q/fygQs+8OgIUwwJmDa1l0ZOysNMqmdtEZNN1jRhsFF9CmbGq fGRfCQpRNdUfbhguJ4f6+yuap0Vi/WaNA/Osw= Original-Received: by 10.50.108.140 with SMTP id hk12mr4175821igb.18.1325993286365; Sat, 07 Jan 2012 19:28:06 -0800 (PST) Original-Received: from labrador.google.com (c-71-202-188-217.hsd1.ca.comcast.net. [71.202.188.217]) by mx.google.com with ESMTPS id rc7sm7373611igb.0.2012.01.07.19.28.04 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 07 Jan 2012 19:28:05 -0800 (PST) X-Mailer: VM 8.1.1 under 24.0.92.1 (i686-pc-linux-gnu) x-attribution: tvr X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.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:147471 Archived-At: I'm running Emacs 24 on three machines, and am seeing leaks on one of them -- Details below. Home: Ubuntu Jaunty x86_32 quad-core -- No Leak Laptop: Intel x86_64 dual core Ubuntu Lucid -- No Leak Work: amd_64 16-core HP workstation Ubuntu Lucid -- Leak! I know other Emacs hackers at work who are running the identical Lucid build on 64-bit machines -- but not on the 16-core HP workstation who are not seeing the leak. I've tried building with and without gnutls -- no difference. Symptoms of the leak: The office workstation has 12gb of RAM and 36GB swap. Before starting Emacs: `free' shows 2gb in use. Start Emacs 24 -- with just emacspeak loaded -- no immediate signs of a leak -- `free' shows abut 6gb in use -- which does seem a lot. 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. --Raman -- Best Regards, --raman