Avoid constant value 32-bit rollback for 64-bit/4GB heap
authorMatthew Mondor <mmondor@pulsar-zone.net>
Mon, 31 Aug 2015 02:59:43 +0000 (22:59 -0400)
committerMatthew Mondor <mmondor@pulsar-zone.net>
Mon, 31 Aug 2015 02:59:43 +0000 (22:59 -0400)
src/c/main.d

index ce605ae..9ec6f78 100755 (executable)
@@ -91,7 +91,7 @@ cl_fixnum ecl_option_values[ECL_OPT_LIMIT+1] = {
 #if ECL_FIXNUM_BITS <= 32
         1024*1024*1024, /* ECL_OPT_HEAP_SIZE */
 #else
-        4024*1024*1024, /* ECL_OPT_HEAP_SIZE */
+        4294967296L,    /* ECL_OPT_HEAP_SIZE */
 #endif
         1024*1024,      /* ECL_OPT_HEAP_SAFETY_AREA */
         0,              /* ECL_OPT_THREAD_INTERRUPT_SIGNAL */