From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Emacs bzr memory footprint Date: Thu, 13 Oct 2011 12:16:45 -0400 Message-ID: References: <83fwix2osa.fsf@gnu.org> <83aa952mq3.fsf@gnu.org> <8362jt2eqy.fsf@gnu.org> <87mxd4apd0.fsf@catnip.gol.com> <83y5wo29jx.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1318522634 26308 80.91.229.12 (13 Oct 2011 16:17:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 13 Oct 2011 16:17:14 +0000 (UTC) Cc: emacs-devel@gnu.org, schwab@linux-m68k.org, carstenmattner@googlemail.com, Miles Bader To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 13 18:17:09 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 1RENxz-0000Fj-ML for ged-emacs-devel@m.gmane.org; Thu, 13 Oct 2011 18:17:07 +0200 Original-Received: from localhost ([::1]:38213 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RENxz-0003pH-2E for ged-emacs-devel@m.gmane.org; Thu, 13 Oct 2011 12:17:07 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:32871) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RENxp-0003oi-MA for emacs-devel@gnu.org; Thu, 13 Oct 2011 12:17:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RENxj-0000DM-OG for emacs-devel@gnu.org; Thu, 13 Oct 2011 12:16:57 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:21474 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RENxe-0000CK-Uf; Thu, 13 Oct 2011 12:16:47 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAOYNl05FxJoX/2dsb2JhbABDqFWBBoFTAQEEAVYjEAs0EhQYDSSIEbd/h20EoSSERQ X-IronPort-AV: E=Sophos;i="4.69,341,1315195200"; d="scan'208";a="141715522" Original-Received: from 69-196-154-23.dsl.teksavvy.com (HELO pastel.home) ([69.196.154.23]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 13 Oct 2011 12:16:45 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id AE99D58BFD; Thu, 13 Oct 2011 12:16:45 -0400 (EDT) In-Reply-To: <83y5wo29jx.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 13 Oct 2011 17:30:42 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.183 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:145144 Archived-At: >> but I note that even after killing most buffers and doing a gc, my emacs >> (running for roughly 8 hours) still takes 341 MB... :[ > What happens if you map over load-history, unloading each feature > mentioned there? My guess is that checking the return value of `garbage-collect' would probably indicate (without unloading anything) that such unloads cannot recover anywhere near 300MB because the Lisp heap is much smaller (i.e. the data comes from elsewhere). Stefan