[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dumped_data_commit: memory exhausted
From: |
Eli Zaretskii |
Subject: |
Re: dumped_data_commit: memory exhausted |
Date: |
Mon, 18 May 2015 19:11:45 +0300 |
> From: cg <address@hidden>
> Date: Mon, 18 May 2015 23:27:50 +0800
> Cc: address@hidden
>
> On 5/18/2015 10:19 PM, Eli Zaretskii wrote:
> >> Date: Mon, 18 May 2015 08:32:30 +0200
> >> From: martin rudalics <address@hidden>
> >>
> >> 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?