From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Enlarge dumped_data[] Date: Wed, 25 Jan 2023 14:10:18 +0200 Message-ID: <834jsehl1x.fsf@gnu.org> References: <87edrj4fnq.fsf.ref@yahoo.com> <87edrj4fnq.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25005"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 25 13:10:52 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pKec5-0006Nh-RV for ged-emacs-devel@m.gmane-mx.org; Wed, 25 Jan 2023 13:10:49 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pKebU-00020r-Fr; Wed, 25 Jan 2023 07:10:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKebQ-0001yv-F2 for emacs-devel@gnu.org; Wed, 25 Jan 2023 07:10:08 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKebO-0007QH-Ew; Wed, 25 Jan 2023 07:10:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=h2Ua/TSH/DDbewRcq0H+ZZfMs0LFKa5kux+FBt3jmMk=; b=gqMaEv3kp2g9 injPs0baiB6dcBA3XImWdDhr3/sqypYhNLten1hU7JhcZQCa31d4FHOXkongk+q6v8jBcdB/bJfOH +YBJIsTS2EI17GzvNJugRHchzeAn9If4QjHLA8ko5GUzic+PoGUOSz3n9GtBuzfyai9UXCZudpftP g16ADaFDsu/dxaFgyX7/05m89SJP2yPh7svF+6rMUIunOxQ8PYkqEFYGVHNOwZNJO9xdhSCLLOqcI RwMMwrIsWQs/4zbdQNB+UUiCCGivgXafQmYTydxajfVhStJem+XJ6E+XLhDo5fyWyzjz2ZfUtrmer mX1uoTksRM9WJ+bxgDVrdg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKebN-0006n7-Of; Wed, 25 Jan 2023 07:10:06 -0500 In-Reply-To: <87edrj4fnq.fsf@yahoo.com> (message from Po Lu on Wed, 25 Jan 2023 08:32:57 +0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:302648 Archived-At: > From: Po Lu > Date: Wed, 25 Jan 2023 08:32:57 +0800 > > The MS Windows build fails to dump, telling me to enlarge the > dumped_data[] array. > > I find it hard to believe that loadup now generates more than 13 MB. > Is there a bug here, or is Emacs really so big now. Is this during bootstrap or during a "regular" build that has just a few of the preloaded *.el that need to be byte-compiled, and the rest already have up-to-date *.elc files? The 64-bit unexec build on GNU/Linux reports about 21MB of static heap used up, and that with only a few *.el files, the rest *.elc. So I think 13MB on Windows is not outrageous. I'm okay with increasing the value, especially since most builds will be unaffected anyway.