From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.help Subject: Re: Emacs 26.1 on Windows is HUGE Date: Mon, 15 Apr 2019 03:40:24 +0200 Message-ID: <87d0loujuf.fsf@telefonica.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="90424"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: =?utf-8?Q?Bj=C3=B6rn?= Lindqvist Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 15 03:40:47 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hFqc2-000NP5-A4 for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Apr 2019 03:40:46 +0200 Original-Received: from localhost ([127.0.0.1]:43117 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFqc1-0003CF-7J for geh-help-gnu-emacs@m.gmane.org; Sun, 14 Apr 2019 21:40:45 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33187) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFqbo-0003Bw-PG for help-gnu-emacs@gnu.org; Sun, 14 Apr 2019 21:40:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hFqbn-0000zQ-SR for help-gnu-emacs@gnu.org; Sun, 14 Apr 2019 21:40:32 -0400 Original-Received: from relayout01-redir.e.movistar.es ([86.109.101.201]:56633) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hFqbn-0000vy-JG for help-gnu-emacs@gnu.org; Sun, 14 Apr 2019 21:40:31 -0400 Original-Received: from sky (81.red-79-151-7.dynamicip.rima-tde.net [79.151.7.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: 981711563@telefonica.net) by relayout01.e.movistar.es (Postfix) with ESMTPSA id 44jB5j4s4qzfZ0M; Mon, 15 Apr 2019 03:40:25 +0200 (CEST) In-Reply-To: (=?utf-8?Q?=22Bj=C3=B6rn?= Lindqvist"'s message of "Mon, 15 Apr 2019 00:01:06 +0200") X-CTCH-Score: 0.000 X-CTCH-ScoreCust: 0.000 X-TnetOut-Country: IP: 79.151.7.81 | Country: ES X-TnetOut-Information: AntiSPAM and AntiVIRUS on relayout01 X-TnetOut-MsgID: 44jB5j4s4qzfZ0M.A3B73 X-TnetOut-SpamCheck: no es spam, Unknown X-TnetOut-From: ofv@wanadoo.es X-TnetOut-Watermark: 1555897228.75251@UdoMfOyGhTcwB5Y2IKS6Ag X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 86.109.101.201 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:119926 Archived-At: Bj=C3=B6rn Lindqvist 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. 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.