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: Re: memory leak Date: Sat, 29 Apr 2006 11:16:08 +0000 (UTC) Message-ID: References: <200604290156.k3T1uecx028681@jane.dms.auburn.edu> Reply-To: bob@rattlesnake.com NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1146309420 18665 80.91.229.2 (29 Apr 2006 11:17:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 29 Apr 2006 11:17:00 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 29 13:16:56 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 1FZnRY-0001CP-7b for ged-emacs-devel@m.gmane.org; Sat, 29 Apr 2006 13:16:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FZnRX-000212-KO for ged-emacs-devel@m.gmane.org; Sat, 29 Apr 2006 07:16:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FZnQx-0001jQ-En for emacs-devel@gnu.org; Sat, 29 Apr 2006 07:16:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FZnQu-0001hQ-OJ for emacs-devel@gnu.org; Sat, 29 Apr 2006 07:16:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FZnQu-0001hI-BA for emacs-devel@gnu.org; Sat, 29 Apr 2006 07:16:16 -0400 Original-Received: from [69.168.108.225] (helo=rattlesnake.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FZnUG-00076g-17 for emacs-devel@gnu.org; Sat, 29 Apr 2006 07:19:44 -0400 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.115) Sat, 29 Apr 2006 11:16:08 +0000 (UTC) Original-To: Luc Teirlinck In-reply-to: <200604290156.k3T1uecx028681@jane.dms.auburn.edu> (message from Luc Teirlinck on Fri, 28 Apr 2006 20:56:40 -0500 (CDT)) 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:53587 Archived-At: This may be it: ... after you completely quit using Emacs, the memory consumed by the Emacs process can easily grow by more than 35 percent, or 8M or more, My normal instances of Emacs do have a large number of large files open at once, but the numbers I reported are for when they are killed. How does memory get consumed after Emacs processes are killed? What should I look for after successfully running `save-buffers-kill-emacs' on all instances of Emacs? No pure storage overflow: You can check whether the variable pure-space-overflow is really non-nil or whether (garbage-collect) returns a non-nil value (it should). In both an instance of Emacs started with -Q -D and an instance of my normal Emacs the variable pure-space-overflow is nil and (garbage-collect) returns a non-nil value. -- Robert J. Chassell bob@rattlesnake.com GnuPG Key ID: 004B4AC8 http://www.rattlesnake.com http://www.teak.cc