RM> fatal ("SHEAP_ADJUSTMENT needs to be modified to reduce memory waste!");
JB> The proper thing to do is adjust SHEAP_ADJUSTMENT like the message says. JB> I think the SLOP parameter is a comparison fuzz setting. Okay, I'm forced to admit how lame I am, but I can't figure out how to reset this value. The error messages says: Static heap usage: 2129280 of 10648960, slop is 65536 -- 8320k wasted -- reset to 2194816k emacs: SHEAP_ADJUSTMENT needs to be modified to reduce memory waste! So I edit emacs-21.2/src/sheap.c to: #ifdef HAVE_X_WINDOWS #define SHEAP_ADJUSTMENT 2194816 /* XEmacs does this dynamically */ #else #define SHEAP_ADJUSTMENT 2194816 /* XEmacs does this dynamically */ #endif But it has no effect on the error/build. I then notice emacs-21.2-build/src/sheap-adjust.h which is generated by sheap.c: /* Do not edit this file! Automatically generated by XEmacs */ # define SHEAP_ADJUSTMENT (-8454144) Well, changing this doesn't do any good, it just gets regenerated (as the comment says!). Furthermore, a tags search fails to find any file which includes this header. Then I notice that emacs-21.2.install actually writes sheap.c, so I edit the script to change the -620000 to: +#ifdef HAVE_X_WINDOWS +#define SHEAP_ADJUSTMENT 2194816 /* XEmacs does this dynamically */ +#else +#define SHEAP_ADJUSTMENT 2194816 /* XEmacs does this dynamically */ +#endif Still no joy. I'll perform the penance of your choice if you tell me how to set SHEAP_ADJUSTMENT and the appropriate value! Thanks, -- Robert -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/