* dumped_data_commit: memory exhausted
@ 2015-05-18 6:32 martin rudalics
2015-05-18 14:19 ` Eli Zaretskii
0 siblings, 1 reply; 13+ messages in thread
From: martin rudalics @ 2015-05-18 6:32 UTC (permalink / raw)
To: emacs-devel
An attempt to bootstrap trunk on Windows XP currently fails here as
...
Loading c:/emacs-git/quick/lisp/vc/ediff-hook.el (source)...
Loading c:/emacs-git/quick/lisp/uniquify.el (source)...
Loading c:/emacs-git/quick/lisp/electric.el (source)...
dumped_data_commit: memory exhausted.
Enlarge dumped_data[]!
: paxctl -zex emacs.exe
mv -f emacs.exe bootstrap-emacs.exe
mv: cannot stat `emacs.exe': No such file or directory
make[2]: *** [bootstrap-emacs.exe] Error 1
make[2]: Leaving directory `/c/emacs-git/quick/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/c/emacs-git/quick'
make: *** [bootstrap] Error 2
Suggestions welcome.
Thanks, martin
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: dumped_data_commit: memory exhausted
2015-05-18 6:32 martin rudalics
@ 2015-05-18 14:19 ` Eli Zaretskii
2015-05-18 15:27 ` cg
0 siblings, 1 reply; 13+ messages in thread
From: Eli Zaretskii @ 2015-05-18 14:19 UTC (permalink / raw)
To: martin rudalics; +Cc: emacs-devel
> 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
>
>
> ...
> Loading c:/emacs-git/quick/lisp/vc/ediff-hook.el (source)...
> Loading c:/emacs-git/quick/lisp/uniquify.el (source)...
> Loading c:/emacs-git/quick/lisp/electric.el (source)...
> dumped_data_commit: memory exhausted.
> Enlarge dumped_data[]!
> : paxctl -zex emacs.exe
> mv -f emacs.exe bootstrap-emacs.exe
> mv: cannot stat `emacs.exe': No such file or directory
> make[2]: *** [bootstrap-emacs.exe] Error 1
> make[2]: Leaving directory `/c/emacs-git/quick/src'
> make[1]: *** [src] Error 2
> make[1]: Leaving directory `/c/emacs-git/quick'
> make: *** [bootstrap] Error 2
Doesn't happen to me, strangely. But it could be borderline.
> Suggestions welcome.
Like it says: enlarge the size of dumped_data[] array.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: dumped_data_commit: memory exhausted
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
0 siblings, 2 replies; 13+ messages in thread
From: cg @ 2015-05-18 15:27 UTC (permalink / raw)
To: emacs-devel; +Cc: emacs-devel
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.
>> Suggestions welcome.
>
> 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.
--
cg
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: dumped_data_commit: memory exhausted
2015-05-18 15:27 ` cg
@ 2015-05-18 16:06 ` Chris Zheng
2015-05-18 16:11 ` Eli Zaretskii
1 sibling, 0 replies; 13+ messages in thread
From: Chris Zheng @ 2015-05-18 16:06 UTC (permalink / raw)
To: chengang31; +Cc: emacs-devel
From: cg <chengang31@gmail.com>
Subject: Re: dumped_data_commit: memory exhausted
Date: Mon, 18 May 2015 23:27:50 +0800
>>> 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.
I see it, too.
>>> Suggestions welcome.
>>
>> 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.
Maybe we should double the value?
> --
> cg
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: dumped_data_commit: memory exhausted
2015-05-18 15:27 ` cg
2015-05-18 16:06 ` Chris Zheng
@ 2015-05-18 16:11 ` Eli Zaretskii
2015-05-19 3:39 ` cg
1 sibling, 1 reply; 13+ messages in thread
From: Eli Zaretskii @ 2015-05-18 16:11 UTC (permalink / raw)
To: chengang31; +Cc: emacs-devel
> 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?
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: dumped_data_commit: memory exhausted
2015-05-18 16:11 ` Eli Zaretskii
@ 2015-05-19 3:39 ` cg
2015-05-19 6:53 ` martin rudalics
2015-05-19 15:01 ` Eli Zaretskii
0 siblings, 2 replies; 13+ messages in thread
From: cg @ 2015-05-19 3:39 UTC (permalink / raw)
To: emacs-devel; +Cc: emacs-devel
On 5/19/2015 12:11 AM, Eli Zaretskii wrote:
>
> 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?
>
I have just tried 19 and it works.
--
cg
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: dumped_data_commit: memory exhausted
2015-05-19 3:39 ` cg
@ 2015-05-19 6:53 ` martin rudalics
2015-05-19 15:01 ` Eli Zaretskii
1 sibling, 0 replies; 13+ messages in thread
From: martin rudalics @ 2015-05-19 6:53 UTC (permalink / raw)
To: chengang31, emacs-devel
> I have just tried 19 and it works.
Thanks for the information. Bumped to 19/12 MB.
martin
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: dumped_data_commit: memory exhausted
2015-05-19 3:39 ` cg
2015-05-19 6:53 ` martin rudalics
@ 2015-05-19 15:01 ` Eli Zaretskii
1 sibling, 0 replies; 13+ messages in thread
From: Eli Zaretskii @ 2015-05-19 15:01 UTC (permalink / raw)
To: chengang31; +Cc: emacs-devel
> From: cg <chengang31@gmail.com>
> Date: Tue, 19 May 2015 11:39:56 +0800
> Cc: emacs-devel@gnu.org
>
> On 5/19/2015 12:11 AM, Eli Zaretskii wrote:
> >
> > 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?
> >
>
> I have just tried 19 and it works.
Thanks.
^ permalink raw reply [flat|nested] 13+ messages in thread
* dumped_data_commit: memory exhausted
@ 2016-11-04 21:45 Richard Copley
2016-11-05 8:22 ` Eli Zaretskii
0 siblings, 1 reply; 13+ messages in thread
From: Richard Copley @ 2016-11-04 21:45 UTC (permalink / raw)
To: Emacs Development
Building current emacs master with the current 64-bit MinGW-W64
toolchain from MSYS2 (gcc 6.2), on Windows 10, I get:
dumped_data_commit: memory exhausted
Increasing DUMPED_HEAP_SIZE from 20 to 21 in w32heap.c
lets the build succeed.
Cf.: http://lists.gnu.org/archive/html//emacs-devel/2015-05/msg00550.html
(Same symptom reported, and the resolution in that case was to
increase DUMPED_HEAP_SIZE from 18 to 19.)
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: dumped_data_commit: memory exhausted
2016-11-04 21:45 dumped_data_commit: memory exhausted Richard Copley
@ 2016-11-05 8:22 ` Eli Zaretskii
2016-11-05 12:36 ` Richard Copley
0 siblings, 1 reply; 13+ messages in thread
From: Eli Zaretskii @ 2016-11-05 8:22 UTC (permalink / raw)
To: Richard Copley; +Cc: emacs-devel
> From: Richard Copley <rcopley@gmail.com>
> Date: Fri, 4 Nov 2016 21:45:02 +0000
>
> Building current emacs master with the current 64-bit MinGW-W64
> toolchain from MSYS2 (gcc 6.2), on Windows 10, I get:
>
> dumped_data_commit: memory exhausted
>
> Increasing DUMPED_HEAP_SIZE from 20 to 21 in w32heap.c
> lets the build succeed.
When that happens, simply push a change that increases the value to a
safe level. (I did it this time.)
Thanks.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: dumped_data_commit: memory exhausted
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
0 siblings, 2 replies; 13+ messages in thread
From: Richard Copley @ 2016-11-05 12:36 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: Emacs Development
On 5 November 2016 at 08:22, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Richard Copley <rcopley@gmail.com>
>> Date: Fri, 4 Nov 2016 21:45:02 +0000
>>
>> Building current emacs master with the current 64-bit MinGW-W64
>> toolchain from MSYS2 (gcc 6.2), on Windows 10, I get:
>>
>> dumped_data_commit: memory exhausted
>>
>> Increasing DUMPED_HEAP_SIZE from 20 to 21 in w32heap.c
>> lets the build succeed.
>
> When that happens, simply push a change that increases the value to a
> safe level. (I did it this time.)
>
> Thanks.
Thanks Eli, and apologies, I don't have the privilege to push changes.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: dumped_data_commit: memory exhausted
2016-11-05 12:36 ` Richard Copley
@ 2016-11-05 13:03 ` Eli Zaretskii
2016-11-05 18:00 ` Stefan Monnier
1 sibling, 0 replies; 13+ messages in thread
From: Eli Zaretskii @ 2016-11-05 13:03 UTC (permalink / raw)
To: Richard Copley; +Cc: emacs-devel
> From: Richard Copley <rcopley@gmail.com>
> Date: Sat, 5 Nov 2016 12:36:33 +0000
> Cc: Emacs Development <emacs-devel@gnu.org>
>
> > When that happens, simply push a change that increases the value to a
> > safe level. (I did it this time.)
> >
> > Thanks.
>
> Thanks Eli, and apologies, I don't have the privilege to push changes.
Silly me. Sorry.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: dumped_data_commit: memory exhausted
2016-11-05 12:36 ` Richard Copley
2016-11-05 13:03 ` Eli Zaretskii
@ 2016-11-05 18:00 ` Stefan Monnier
1 sibling, 0 replies; 13+ messages in thread
From: Stefan Monnier @ 2016-11-05 18:00 UTC (permalink / raw)
To: emacs-devel
> Thanks Eli, and apologies, I don't have the privilege to push changes.
Don't let that stop you: just push harder!
Stefan
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2016-11-05 18:00 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-04 21:45 dumped_data_commit: memory exhausted 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
-- strict thread matches above, loose matches on Subject: below --
2015-05-18 6:32 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
2015-05-19 3:39 ` cg
2015-05-19 6:53 ` martin rudalics
2015-05-19 15:01 ` Eli Zaretskii
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.