|
From: | Paul Reilly |
Subject: | Re: Building Emacs fails on Cygwin |
Date: | Tue, 11 Nov 2008 12:57:15 -0500 |
User-agent: | Thunderbird 2.0.0.17 (Macintosh/20080914) |
Angelo Graziosi wrote:
Paul Michael Reilly wrote:The bootstrap failed as shown belowThis has been discussed longly [1]. I think this is also related to recent discussion titled "size of emacs executable after unicode merge". The solution is the patch below. Pre-built binaries here [2]. =============================== --- sheap.c.orig 2008-05-14 14:56:07.000000000 +0200 +++ sheap.c 2008-06-28 18:21:30.984375000 +0200 @@ -24,7 +24,7 @@ #include <unistd.h> -#define STATIC_HEAP_SIZE (12 * 1024 * 1024) +#define STATIC_HEAP_SIZE (25 * 1024 * 1024)
Seems to me that this is merely a short term fix until the next time Emacs needs more heap. Is it impossible/impractical to find a mechanism to determine how big this requirement should be at build time so the problem can be solved forever? I'll plead guilty right up front to not having a clue on what the optimal long term answer might be.
And thanks for your help. Much appreciated. -pmr
[Prev in Thread] | Current Thread | [Next in Thread] |