From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Robert J. Chassell" Newsgroups: gmane.emacs.devel Subject: memory leak Date: Fri, 28 Apr 2006 17:51:01 +0000 (UTC) Message-ID: Reply-To: bob@rattlesnake.com NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1146246699 12200 80.91.229.2 (28 Apr 2006 17:51:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 28 Apr 2006 17:51:39 +0000 (UTC) Cc: bob@rattlesnake.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 28 19:51:32 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FZX7j-0004bl-JO for ged-emacs-devel@m.gmane.org; Fri, 28 Apr 2006 19:51:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FZX7j-0000ET-Dr for ged-emacs-devel@m.gmane.org; Fri, 28 Apr 2006 13:51:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FZX7Y-0000EO-OI for emacs-devel@gnu.org; Fri, 28 Apr 2006 13:51:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FZX7X-0000E9-SV for emacs-devel@gnu.org; Fri, 28 Apr 2006 13:51:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FZX7X-0000E6-Pv for emacs-devel@gnu.org; Fri, 28 Apr 2006 13:51:11 -0400 Original-Received: from [69.168.108.225] (helo=rattlesnake.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FZXAi-0002Pp-V8 for emacs-devel@gnu.org; Fri, 28 Apr 2006 13:54:29 -0400 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.115) Fri, 28 Apr 2006 17:51:01 +0000 (UTC) Original-To: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:53567 Archived-At: Can anyone else reproduce a memory leak in the current CVS GNU/Emacs? Debian GNU/Linux, testing, updated this morning one root console running, one user console running an X windows session X windows Enlightenment window manager Four instances of today's GNU Emacs CVS snapshot, Fri, 2006 Apr 28 09:59 UTC GNU Emacs 22.0.50.64 (i686-pc-linux-gnu, GTK+ Version 2.6.8) started with /usr/local/src/emacs/src/emacs -Q -D No other instances of Emacs. During the time of the measurement, I did nothing with the computer. These instances of GNU Emacs appear to consume RAM at a rate of 124 kb/min. How I did it: after instantiating four plain vanilla instances of GNU Emacs from today's CVS, I recorded the total active memory and then did that again 10.5 minutes later. The total active memory comes from `free, and is `used' minus the sum of `shared, buffers, and cached. (There was no change in swap size.) (This is on the usual computer I work with, so it is really painful getting rid of the instances I use, generally three as a plain user and two as root; I tend to keep those running for days.) -- Robert J. Chassell bob@rattlesnake.com GnuPG Key ID: 004B4AC8 http://www.rattlesnake.com http://www.teak.cc