At 10:16 PM 7/14/00 +0200, Dan Holmsand wrote:
I frequently get an error message saying that temacs is running out
of
static heap space (whatever that is...) during byte compilation. Then
it tells me to remove sheap-adjust.h, which helps. This is obviously
not your problem...
Both the cygwin build and mingw build use a staticly allocated array as
heap space for the purposes of dumping (a running xemacs just uses normal
heap). Since the size of this array is the same in xemacs.exe as well as
temacs.exe and since it is not used as heap space in xemacs.exe it is
important that it is only just be big enough to cope with loading all the
elc files at dump time. Unfortunately byte compilation uses temacs and
generally requires *more* heap space than that used at dump time. Thus if
you need files byte compiled you need to start off with the default
sheap-adjust.h sizes which give about 8mb of heap. Then at dump time the
static heap will be resized to be just big enough for dumping. Doing make
beta will do this for you, simply building will not.
Also byte compilation takes up more heap over time os it perfectly possible
that if the build fails simply restarting it will fix things. If the static
heap size is simply not enough (seems unlikely) then you could try changing
the static heap adjustment to a positive number.
andy
--------------------------------------------------------------
Dr Andy Piper
Principal Consultant, BEA Systems Ltd