From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#4287: marked as done (reducing emacs size by more frequent garbage-collect calls in loadup.el) Date: Thu, 17 Sep 2009 06:25:07 +0000 Message-ID: References: <200909170617.n8H6HvDs020712@godzilla.ics.uci.edu> <200908291841.n7TIfw4E003762@godzilla.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1253168707-16132-0" X-Trace: ger.gmane.org 1253168929 7900 80.91.229.12 (17 Sep 2009 06:28:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Sep 2009 06:28:49 +0000 (UTC) To: Dan Nicolaescu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 17 08:28:42 2009 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.50) id 1MoATx-0004yZ-Iq for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Sep 2009 08:28:42 +0200 Original-Received: from localhost ([127.0.0.1]:44069 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoATw-00026z-WE for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Sep 2009 02:28:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MoASU-0001Tn-9d for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2009 02:27:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MoASO-0001Rs-SB for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2009 02:27:09 -0400 Original-Received: from [199.232.76.173] (port=41164 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoASO-0001Rg-JI for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2009 02:27:04 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:47284) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MoASN-0004kU-SQ for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2009 02:27:04 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8H6R1qB016491; Wed, 16 Sep 2009 23:27:01 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8H6P7rJ016180; Wed, 16 Sep 2009 23:25:07 -0700 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 4287 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:31161 Archived-At: This is a multi-part message in MIME format... ------------=_1253168707-16132-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Wed, 16 Sep 2009 23:17:57 -0700 (PDT) with message-id <200909170617.n8H6HvDs020712@godzilla.ics.uci.edu> and subject line Re: bug#4287: reducing emacs size by more frequent garbage= -collect calls in loadup.el has caused the Emacs bug report #4287, regarding reducing emacs size by more frequent garbage-collect calls in loa= dup.el to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 4287: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D4287 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1253168707-16132-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 29 Aug 2009 18:43:45 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.2 required=4.0 tests=AWL,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7TIhi5f015404 for ; Sat, 29 Aug 2009 11:43:45 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MhStr-0000Am-Ou for bug-gnu-emacs@gnu.org; Sat, 29 Aug 2009 14:43:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MhStm-0000AY-1o for bug-gnu-emacs@gnu.org; Sat, 29 Aug 2009 14:43:42 -0400 Received: from [199.232.76.173] (port=47554 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MhStl-0000AV-Sq for bug-gnu-emacs@gnu.org; Sat, 29 Aug 2009 14:43:37 -0400 Received: from barrelv2.ics.uci.edu ([128.195.1.114]:52815) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1MhStl-00087c-8S for bug-gnu-emacs@gnu.org; Sat, 29 Aug 2009 14:43:37 -0400 Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by barrelv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n7TIfxL6028738 for ; Sat, 29 Aug 2009 11:41:59 -0700 (PDT) Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n7TIfw4E003762; Sat, 29 Aug 2009 11:41:58 -0700 (PDT) Date: Sat, 29 Aug 2009 11:41:58 -0700 (PDT) Message-Id: <200908291841.n7TIfw4E003762@godzilla.ics.uci.edu> From: Dan Nicolaescu To: bug-gnu-emacs Subject: reducing emacs size by more frequent garbage-collect calls in loadup.el X-Debbugs-No-Ack: yes Lines: 22 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n7TIfxL6028738 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.363, required 5, autolearn=disabled, ALL_TRUSTED -1.44, TW_RW 0.08) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) As the Subject says, replacing each `load' line in loadup.el with `load' + `garbage-collect' will reduce the size of the stripped emacs binary: (.7 is before, .8 is after the change) $ ls -l emacs-23.1.50.8 emacs-23.1.50.7 -rwx------ 1 dann dann 6722788 Jul 24 14:20 emacs-23.1.50.8* -rwx------ 1 dann dann 6857956 Jul 24 14:20 emacs-23.1.50.7* $ size emacs-23.1.50.8 emacs-23.1.50.7 text data bss dec hex filename 1883659 4833256 0 6716915 667df3 emacs-23.1.50.8 1883659 4968424 0 6852083 688df3 emacs-23.1.50.7 so we get about 2% reduction by doing something very simple and safe... [This happens because loading multiple files generate more garbage that can be collected, but it is not returned to the OS, so it appears in the dumped image]. See the discussion on this topic on emacs-devel: http://permalink.gmane.org/gmane.emacs.devel/113176 ------------=_1253168707-16132-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 4287-done) by emacsbugs.donarmstrong.com; 17 Sep 2009 06:18:10 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-6.6 required=4.0 tests=AWL,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from sallyv2.ics.uci.edu (sallyv2.ics.uci.edu [128.195.1.120]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8H6I9SE015282 for <4287-done@emacsbugs.donarmstrong.com>; Wed, 16 Sep 2009 23:18:10 -0700 Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by sallyv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n8H6HvDK000172 for <4287-done@emacsbugs.donarmstrong.com>; Wed, 16 Sep 2009 23:17:57 -0700 (PDT) Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n8H6HvDs020712; Wed, 16 Sep 2009 23:17:57 -0700 (PDT) Date: Wed, 16 Sep 2009 23:17:57 -0700 (PDT) Message-Id: <200909170617.n8H6HvDs020712@godzilla.ics.uci.edu> From: Dan Nicolaescu To: 4287-done@emacsbugs.donarmstrong.com Subject: Re: bug#4287: reducing emacs size by more frequent garbage-collect calls in loadup.el References: <200908291841.n7TIfw4E003762@godzilla.ics.uci.edu> X-Debbugs-No-Ack: yes In-Reply-To: <200908291841.n7TIfw4E003762@godzilla.ics.uci.edu> (Dan Nicolaescu's message of "Sat, 29 Aug 2009 11:41:58 -0700 (PDT)") Lines: 1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n8H6HvDK000172 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu This is done in CVS now. ------------=_1253168707-16132-0--