From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Memory again Date: Thu, 15 Dec 2011 00:52:19 -0500 Message-ID: References: <4ED0F945.5090805@yandex.ru> <83pqge7syw.fsf@gnu.org> <87mxb6tkji.fsf@wanadoo.es> <87borlu0kc.fsf@wanadoo.es> <83bora328r.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1323928351 7605 80.91.229.12 (15 Dec 2011 05:52:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 15 Dec 2011 05:52:31 +0000 (UTC) Cc: ofv@wanadoo.es, monnier@IRO.UMontreal.CA, emacs-devel@gnu.org To: Tim Connors Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 15 06:52:26 2011 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 1Rb4F0-0002vn-AN for ged-emacs-devel@m.gmane.org; Thu, 15 Dec 2011 06:52:26 +0100 Original-Received: from localhost ([::1]:40518 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rb4Ez-0004HF-BW for ged-emacs-devel@m.gmane.org; Thu, 15 Dec 2011 00:52:25 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:50506) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rb4Ev-0004Gz-1F for emacs-devel@gnu.org; Thu, 15 Dec 2011 00:52:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rb4Et-00010Q-N6 for emacs-devel@gnu.org; Thu, 15 Dec 2011 00:52:21 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:42803) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rb4Et-00010I-LB for emacs-devel@gnu.org; Thu, 15 Dec 2011 00:52:19 -0500 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Rb4Et-0000eZ-1l; Thu, 15 Dec 2011 00:52:19 -0500 In-reply-to: (message from Tim Connors on Thu, 15 Dec 2011 15:38:24 +1100 (EST)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 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:146721 Archived-At: > Date: Thu, 15 Dec 2011 15:38:24 +1100 (EST) > From: Tim Connors > cc: monnier@IRO.UMontreal.CA, ofv@wanadoo.es, emacs-devel@gnu.org > > On Thu, 15 Dec 2011, Eli Zaretskii wrote: > > > > Date: Thu, 15 Dec 2011 14:52:23 +1100 (EST) > > > From: Tim Connors > > > Cc: Óscar Fuentes , emacs-devel@gnu.org > > > > > > But right now, having had emacs up for a few days, and only opening 10 > > > small files with the aid of emacsclient, emacs's RSS is 130M. It had > > > climbed up to 400M before I most recently killed it. > > > > What version of Emacs is that, and on which OS? > > debian stable, debian package version 23.2+1-7 > > (version) returns: > > GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of > 2011-10-26 on trouble, modified by Debian Next question: what optional packages are loaded? (AFAIR, debian systems are notorious for loading gobs of stuff in their site init files.) Also, what memory footprint do you get if you start from "emacs -Q" and then load all those "10 small files" you mentioned in the original report? If you get a comparably large RSS, try to find out which of the files/modes has the greatest effect on the memory footprint. Finally, can you recollect or retrace what caused the RSS to climb from 130MB to 400MB? > I should be able to upgrade to testing's 23.3+1-4 pretty easily when I > have a spare moment, but I don't imagine there's too many patch > differences between the 2 versions. I would suggest to try the latest pretest of Emacs 24 (24.0.92 as of this writing). The Emacs 23 branch is closed for development, and unless someone reports some catastrophe with the 23.x series, will not be reopen. Any memory-related bugs we find will be fixed in Emacs 24, so it makes sense to first establish if the same problems exist there. Thanks.