From 67e684d7ba53f3c46011d176faf0243097a8a2e4 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Sat, 12 Dec 2009 21:53:01 -0800 Subject: [PATCH] Use much larger default heap size on 64-bit machines. --- src/microcode/option.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/microcode/option.c b/src/microcode/option.c index 3d88fb119..544fe79c7 100644 --- a/src/microcode/option.c +++ b/src/microcode/option.c @@ -209,7 +209,11 @@ Additional options may be supported by the band (and described below).\n\ #endif #ifndef DEFAULT_HEAP_SIZE -# define DEFAULT_HEAP_SIZE 4096 +# if SIZEOF_UNSIGNED_LONG == 8 +# define DEFAULT_HEAP_SIZE 16384 +# else +# define DEFAULT_HEAP_SIZE 4096 +# fi #endif #ifndef HEAP_SIZE_VARIABLE -- 2.25.1