Use much larger default heap size on 64-bit machines.
authorChris Hanson <org/chris-hanson/cph>
Sun, 13 Dec 2009 05:53:01 +0000 (21:53 -0800)
committerChris Hanson <org/chris-hanson/cph>
Sun, 13 Dec 2009 05:53:01 +0000 (21:53 -0800)
src/microcode/option.c

index 3d88fb11900c6fac212705163f0df0d25c3f22a4..544fe79c7533c7aa2861c6c1a2db74d5aa5cc7e9 100644 (file)
@@ -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