From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dave Abrahams Newsgroups: gmane.emacs.devel Subject: Re: Emacs bzr memory footprint Date: Thu, 13 Oct 2011 10:10:19 -0400 Message-ID: References: <83fwix2osa.fsf@gnu.org> <834nzd2eil.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1318515339 2489 80.91.229.12 (13 Oct 2011 14:15:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 13 Oct 2011 14:15:39 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 13 16:15:30 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 1REM4F-0001VJ-Pu for ged-emacs-devel@m.gmane.org; Thu, 13 Oct 2011 16:15:27 +0200 Original-Received: from localhost ([::1]:36095 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1REM4F-00061C-9p for ged-emacs-devel@m.gmane.org; Thu, 13 Oct 2011 10:15:27 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:59879) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1REM47-0005lG-HZ for emacs-devel@gnu.org; Thu, 13 Oct 2011 10:15:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1REM3x-0006vn-Tb for emacs-devel@gnu.org; Thu, 13 Oct 2011 10:15:19 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:35150) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1REM3x-0006vc-Jo for emacs-devel@gnu.org; Thu, 13 Oct 2011 10:15:09 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1REM3v-0001JM-IE for emacs-devel@gnu.org; Thu, 13 Oct 2011 16:15:07 +0200 Original-Received: from 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com ([207.172.223.249]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Oct 2011 16:15:07 +0200 Original-Received: from dave by 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Oct 2011 16:15:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 20 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.3 (darwin) Cancel-Lock: sha1:OcrbQmNbpplRQ/Hp7E8Rk1oG61c= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 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:145127 Archived-At: on Thu Oct 13 2011, Eli Zaretskii wrote: >> Are there known leaks with erlang-mode or haskell-mode? > > There can be no memory leak on the Lisp side. Any leaks are always > bugs in Emacs, not in any Lisp code that it runs. I'm not an expert on Emacs internals, but I think that depends on whether they are memory leaks or "memory leaks," the latter being when references are held longer than necessary. Also, presumably, until something forces a garbage collection, even unreferenced memory may appear to be "in use." Please do correct me if I'm mistaken. -- Dave Abrahams BoostPro Computing http://www.boostpro.com