From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: Re: memory usage Date: Fri, 15 Jun 2007 23:12:42 +0200 Message-ID: <87y7ik6hx1.fsf@escher.local.home> References: <87ps4244a9.fsf@escher.local.home> <87tztbohvp.fsf@escher.local.home> <87ejkepd4e.fsf@escher.local.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1181942447 15853 80.91.229.12 (15 Jun 2007 21:20:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Jun 2007 21:20:47 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 15 23:20:45 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HzJDo-0007kR-Rz for ged-emacs-devel@m.gmane.org; Fri, 15 Jun 2007 23:20:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HzJDo-0000V4-B2 for ged-emacs-devel@m.gmane.org; Fri, 15 Jun 2007 17:20:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HzJDl-0000Up-Ad for emacs-devel@gnu.org; Fri, 15 Jun 2007 17:20:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HzJDi-0000Ub-Uw for emacs-devel@gnu.org; Fri, 15 Jun 2007 17:20:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HzJDi-0000UY-Ps for emacs-devel@gnu.org; Fri, 15 Jun 2007 17:20:38 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HzJDi-0003ic-Ce for emacs-devel@gnu.org; Fri, 15 Jun 2007 17:20:38 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HzJAo-00043a-TV for emacs-devel@gnu.org; Fri, 15 Jun 2007 23:17:39 +0200 Original-Received: from i577bc512.versanet.de ([87.123.197.18]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Jun 2007 23:17:38 +0200 Original-Received: from Stephen.Berman by i577bc512.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Jun 2007 23:17:38 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 34 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: i577bc512.versanet.de User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:73010 Archived-At: On Fri, 15 Jun 2007 15:21:30 -0400 Richard Stallman wrote: > But I should > also continue using the 6/3 build to see if I get a repetition of the > usage I reported, since as I said, it hasn't happened consistently. > > How many times has it happened? Prior to my post on Monday I didn't notice such a heightened memory usage, though I cannot swear it didn't occur. Since the release of Emacs 22.1 and my latest CVS update a day later I've been alternating between them. With 22.1 I haven't experience an inordinate memory consumption. On Wednesday with the CVS build the memory consumption was also not as high as on Monday. But today I was using the CVS build again and it used a lot of swap in particular, though resident memory consumption was less than in my OP; when I killed the session about half an hour ago, Emacs seemed somewhat sluggish and top reported this: PID %MEM VIRT SWAP RES CODE DATA SHR nFLT nDRT S PR NI %CPU COMMAND 4734 29.3 707m 560m 147m 1476 686m 6932 22k 0 S 16 0 0.0 emacs Compare this to what I reported on Monday: PID %MEM VIRT SWAP RES CODE DATA SHR nFLT nDRT S PR NI %CPU COMMAND 4707 54.5 623m 349m 274m 1476 602m 8336 8928 0 S 17 0 0.0 emacs Today's CVS Emacs session ran for 14 hours, Monday's ran for 13+ hours, while on Wednesday I had two sessions of about three and a half and 8+ hours. I didn't notice whether the memory consumption today and on Monday started increasing more rapidly after eight or nine hours. The next time I'll try to track it more closely. Steve Berman