all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: chengang31@gmail.com
Cc: emacs-devel@gnu.org
Subject: Re: dumped_data_commit: memory exhausted
Date: Mon, 18 May 2015 19:11:45 +0300	[thread overview]
Message-ID: <83vbfpeugu.fsf@gnu.org> (raw)
In-Reply-To: <555A04F6.7030708@gmail.com>

> From: cg <chengang31@gmail.com>
> Date: Mon, 18 May 2015 23:27:50 +0800
> Cc: emacs-devel@gnu.org
> 
> On 5/18/2015 10:19 PM, Eli Zaretskii wrote:
> >> Date: Mon, 18 May 2015 08:32:30 +0200
> >> From: martin rudalics <rudalics@gmx.at>
> >>
> >> An attempt to bootstrap trunk on Windows XP currently fails here as
> >>
> [...]
> >
> > Doesn't happen to me, strangely.  But it could be borderline.
> >
> 
> It happened to me. I guess it depends on the toolchain. I am using
> msys2 64-bit with the latest updates.

64-bit builds use a different size.

> > Like it says: enlarge the size of dumped_data[] array.
> >
> 
> Right. I made a change to src/w32heap.c (the value is arbitrarily chose):
> 
> - # define DUMPED_HEAP_SIZE (18*1024*1024)
> +# define DUMPED_HEAP_SIZE (28*1024*1024)
> 
> then the build went through.

Arbitrary, indeed.  The value needs to be as small as possible,
because that's memory wasted in the dumped Emacs (because
bootstrap-emacs needs significantly more space in that array).  So I'd
appreciate if you or someone else could come up with a smaller
increment.  E.g., does 19 instead of 18 work?



  parent reply	other threads:[~2015-05-18 16:11 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-18  6:32 dumped_data_commit: memory exhausted martin rudalics
2015-05-18 14:19 ` Eli Zaretskii
2015-05-18 15:27   ` cg
2015-05-18 16:06     ` Chris Zheng
2015-05-18 16:11     ` Eli Zaretskii [this message]
2015-05-19  3:39       ` cg
2015-05-19  6:53         ` martin rudalics
2015-05-19 15:01         ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2016-11-04 21:45 Richard Copley
2016-11-05  8:22 ` Eli Zaretskii
2016-11-05 12:36   ` Richard Copley
2016-11-05 13:03     ` Eli Zaretskii
2016-11-05 18:00     ` Stefan Monnier

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=83vbfpeugu.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=chengang31@gmail.com \
    --cc=emacs-devel@gnu.org \
    /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.