>From 91c35bcf52f13f00b43516ea90513798875f4dd0 Mon Sep 17 00:00:00 2001 From: Peter Bex Date: Sun, 13 Oct 2013 12:33:06 +0200 Subject: [PATCH 3/3] Remove weird unexplained halving of new heap size which caused out of memory errors --- runtime.c | 1 - 1 file changed, 1 deletion(-) diff --git a/runtime.c b/runtime.c index 2c622cb..030763e 100644 --- a/runtime.c +++ b/runtime.c @@ -3314,7 +3314,6 @@ C_regparm void C_fcall C_rereclaim2(C_uword size, int double_plus) } heap_size = size; - size /= 2; if ((new_heapspace = heap_alloc (size, &new_tospace_start)) == NULL) panic(C_text("out of memory - cannot allocate heap segment")); -- 1.8.3.4