[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The bootstrap of Emacs on Cygwin is broken [Is also: unicode branch
From: |
Angelo Graziosi |
Subject: |
Re: The bootstrap of Emacs on Cygwin is broken [Is also: unicode branch is merged to trunk] |
Date: |
Wed, 28 May 2008 19:21:10 +0200 |
User-agent: |
Thunderbird 2.0.0.14 (Windows/20080421) |
YAMAMOTO Mitsuharu wrote:
> What happens if you replace
>
> (load "term/x-win")
>
> with
>
> (unless (or (equal (nth 3 command-line-args) "bootstrap")
> (equal (nth 4 command-line-args) "bootstrap"))
> (load "term/x-win"))
>
> (and likewise for "term/w32-win") in lisp/loadup.el?
With the above suggestions, the full bootstrap requests at least 24MB.
The log file of the bootstrap shows that in the first stage it needs 24 MB:
[...]
Finding pointers to doc strings...
Finding pointers to doc strings...done
Dumping under the name emacs
Static heap usage: 25097944 of 25165824 bytes <==
71662 pure bytes used
mv -f emacs.exe bootstrap-emacs.exe
[...]
in the final stage about 19MB,
[...]
Finding pointers to doc strings...
Finding pointers to doc strings...done
Dumping under the name emacs
Static heap usage: 19265240 of 25165824 bytes <==
1209462 pure bytes used
./emacs -q -batch -f list-load-path-shadows
make[3]: Leaving directory `/work/build/src'
[...]
These values are not too much different from those I usually use:
#ifdef BOOT_STRAP
#define STATIC_HEAP_SIZE (25 * 1024 * 1024)
#else
#define STATIC_HEAP_SIZE (19 * 1024 * 1024)
#endif
Cheers,
Angelo.
Re: The bootstrap of Emacs on Cygwin is broken [Is also: unicode branch is merged to trunk],
Angelo Graziosi <=