From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#6006: recent emacs binary size increase by 800KB Date: Thu, 22 Apr 2010 15:35:00 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1271966918 7733 80.91.229.12 (22 Apr 2010 20:08:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 22 Apr 2010 20:08:38 +0000 (UTC) Cc: 6006@debbugs.gnu.org To: Dan Nicolaescu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 22 22:08:37 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O52hQ-0004TC-4a for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Apr 2010 22:08:36 +0200 Original-Received: from localhost ([127.0.0.1]:60511 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O52hP-0000Aa-Gi for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Apr 2010 16:08:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O52Uf-0000AA-O7 for bug-gnu-emacs@gnu.org; Thu, 22 Apr 2010 15:55:25 -0400 Original-Received: from [140.186.70.92] (port=49517 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O52Uc-00005U-MH for bug-gnu-emacs@gnu.org; Thu, 22 Apr 2010 15:55:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O52Ua-0002wz-W5 for bug-gnu-emacs@gnu.org; Thu, 22 Apr 2010 15:55:22 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56387) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O52Ua-0002wn-SY for bug-gnu-emacs@gnu.org; Thu, 22 Apr 2010 15:55:20 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1O52Bu-0001l7-3e; Thu, 22 Apr 2010 15:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Apr 2010 19:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6006 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6006-submit@debbugs.gnu.org id=B6006.12719649096752 (code B ref 6006); Thu, 22 Apr 2010 19:36:02 +0000 Original-Received: (at 6006) by debbugs.gnu.org; 22 Apr 2010 19:35:09 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O52B2-0001kr-50 for submit@debbugs.gnu.org; Thu, 22 Apr 2010 15:35:08 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O52B0-0001kQ-Jp for 6006@debbugs.gnu.org; Thu, 22 Apr 2010 15:35:07 -0400 Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id o3MJZ1wK021049; Thu, 22 Apr 2010 15:35:01 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 099CE70499; Thu, 22 Apr 2010 15:35:01 -0400 (EDT) In-Reply-To: (Dan Nicolaescu's message of "Thu, 22 Apr 2010 13:13:50 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3519=0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 22 Apr 2010 15:36:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:36427 Archived-At: > The "data" segment size has increased between the .2 and .3 version > by 800KB. [...] > * loadup.el: Setup hash-cons for pure data. Yes, this patch makes Emacs use free up a fairly large hash-table just before dumping, so its image is larger, with a fair amount of memory that's not actually used (it's still allocated to the Emacs process but Emacs has it registered as "free for reuse"). Some of that memory can be recovered by adjusting the size of the pure-space (since the patch reduces the pure-space usage but didn't reduce the redefined size of the pure space), but not all. This said, I don't think it's a real problem since that memory is not really wasted (it will be used when Emacs starts to allocate), other than on the disk. Stefan