bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#4287: marked as done (reducing emacs size by more frequent garbage-c


From: Emacs bug Tracking System
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

Your message dated Wed, 16 Sep 2009 23:17:57 -0700 (PDT)
with message-id <address@hidden>
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 
loadup.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 address@hidden
immediately.)


-- 
4287: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=4287
Emacs Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: reducing emacs size by more frequent garbage-collect calls in loadup.el Date: Sat, 29 Aug 2009 11:41:58 -0700 (PDT)
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




--- End Message ---
--- Begin Message --- Subject: Re: bug#4287: reducing emacs size by more frequent garbage-collect calls in loadup.el Date: Wed, 16 Sep 2009 23:17:57 -0700 (PDT)
This is done in CVS now.

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]