all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Phillip Lord <phillip.lord@russet.org.uk>
To: "Óscar Fuentes" <ofv@wanadoo.es>
Cc: help-gnu-emacs@gnu.org, "Björn Lindqvist" <bjourne@gmail.com>
Subject: Re: Emacs 26.1 on Windows is HUGE
Date: Mon, 15 Apr 2019 12:42:15 +0100	[thread overview]
Message-ID: <87y34bxzoo.fsf@russet.org.uk> (raw)
In-Reply-To: <87d0loujuf.fsf@telefonica.net> ("Óscar Fuentes"'s message of "Mon, 15 Apr 2019 03:40:24 +0200")

Óscar Fuentes <ofv@wanadoo.es> writes:

> Björn Lindqvist <bjourne@gmail.com> writes:
>
>> I thought it was time to update my version of Emacs on Windows. So I
>> download emacs-26.1-x86_64-no-deps.zip package from
>> http://ftp.gnu.org/gnu/emacs/windows/emacs-26/. It is a whopping 109
>> mb and consumes 407 mb of space uncompressed. The emacs.exe file
>> itself is 121 mb. In comparison the emacs 24.5 installation consumes
>> 160 mb and emacs.exe itself 8 mb.
>>
>> I posit that there is something wrong with the way Emacs is packaged
>> for Windows. Perhaps there is a more lightweight distribution?
>
> Most likely the executables include debug information. It uses disk
> space but no RAM.

They do. In addition, between 24 and 25 there was a change of build system.

> On addition to that, one thing that makes little for this distribution
> is to include emacs.exe and emacs-26.1.exe, which are identical.
>
> BTW, 26.2 was just released, although the binary pretests on
>
> https://alpha.gnu.org/gnu/emacs/pretest/windows/emacs-26/
>
> have the same size.
>
> You can use `strip.exe' (from binutils) to remove the debug information.
>
> You can use M-x report-emacs-bug to suggest removing debug info prior to
> packaging and/or not including redundant executables as emacs-26.1.exe.

Removing the redundant executables would break things for people who
want to unpack over an MSYS installation. If you really care about the
disk space (100Mb is really stretching the definition of "huge" these
days), using file system level compression would solve this problem, as
well as reducing the size of other parts of Emacs also.

Happy for there to be a discussion about debug information of
emacs-devel, though. If it's not needed, it can be removed.

Phil



  reply	other threads:[~2019-04-15 11:42 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-14 22:01 Emacs 26.1 on Windows is HUGE Björn Lindqvist
2019-04-15  1:40 ` Óscar Fuentes
2019-04-15 11:42   ` Phillip Lord [this message]
2019-04-15 14:55     ` Óscar Fuentes
2019-04-15 17:00       ` Phillip Lord
2019-04-16 20:57     ` Björn Lindqvist
2019-04-16 21:19       ` Phillip Lord
2019-04-16 22:18         ` Björn Lindqvist
2019-04-17  2:48           ` Eli Zaretskii
2019-04-17  3:34             ` Óscar Fuentes
2019-04-17  4:13               ` Eli Zaretskii
2019-04-17 15:28             ` Phillip Lord
2019-04-17 16:41               ` Eli Zaretskii
2019-04-19  8:13           ` Tomas Nordin
2019-04-23 15:11             ` Phillip Lord
2019-04-25 19:54               ` Tomas Nordin
2019-04-26 16:22                 ` Phillip Lord
2019-04-26 17:56                   ` Eli Zaretskii
2019-04-26 20:59                     ` Phillip Lord
2019-04-26 21:29                       ` Óscar Fuentes
2019-04-27 11:17                         ` Phillip Lord
2019-04-27 11:26                           ` Eli Zaretskii
2019-04-29 13:55                             ` Phillip Lord
2019-04-29 15:12                               ` Eli Zaretskii
2019-04-30  9:48                                 ` Phillip Lord
2019-04-30 15:09                                   ` Eli Zaretskii
2019-04-30 15:35                                     ` Óscar Fuentes
2019-04-30 16:05                                       ` Eli Zaretskii
2019-04-30 21:13                                         ` Phillip Lord
2019-05-01  2:43                                           ` Eli Zaretskii
2019-05-01  4:04                                             ` Eli Zaretskii
2019-05-01 14:22                                               ` INFOPATH on MSYS(2) (WAS: Emacs 26.1 on Windows is HUGE) Noam Postavsky
2019-05-01 17:17                                                 ` Eli Zaretskii
2019-05-01 22:07                                                 ` INFOPATH on MSYS(2) Phillip Lord
2019-05-02  2:36                                                   ` Eli Zaretskii
     [not found]                                         ` <87pnopx929.fsf@russet.org.uk>
2019-05-11 16:14                                           ` Emacs 26.1 on Windows is HUGE Phillip Lord
2019-05-13 13:27                                             ` Óscar Fuentes
2019-04-27  7:14                       ` Eli Zaretskii
2019-04-16 20:35   ` Björn Lindqvist
2019-04-16 20:54     ` Óscar Fuentes
2019-04-17  4:09       ` Björn Lindqvist
2019-04-17 15:25         ` Óscar Fuentes
2019-04-17 16:36           ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y34bxzoo.fsf@russet.org.uk \
    --to=phillip.lord@russet.org.uk \
    --cc=bjourne@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=ofv@wanadoo.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.