emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 64-bit emacs crashes a lot


From: Eli Zaretskii
Subject: Re: 64-bit emacs crashes a lot
Date: Sun, 18 Aug 2013 22:14:32 +0300

> Date: Sun, 18 Aug 2013 13:43:58 -0400
> From: Ken Brown <address@hidden>
> Cc: emacs <address@hidden>
> 
> > Usually, in that case, the build log shows
> >
> > ...
> > Static heap usage: 10273280 of 13631488 bytes
> > ...
> > Static heap usage: 5419520 of 13631488 bytes
> >
> >
> > Doesn't it mean that the "end" product uses only about 5.2 MB?
> 
> Yes, but you still need a bigger static heap for bootstrapping.  While 
> bootstrap-emacs is being built, many *.el files get loaded, and this 
> requires a large static heap.  Then bootstrap-emacs byte-compiles those 
> files.  Now when emacs is built, the smaller *.elc files can be used, so 
> a smaller static heap suffices for that second step.

You could define the heap size differently during a bootstrap and
afterwards, if that matters.  Just make sure GCC defines some
preprocessor symbol during one or the other.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]