From c31138976de0909ed54c251a0408037c39746c3b Mon Sep 17 00:00:00 2001 From: Gabriel Baraldi Date: Thu, 9 Feb 2023 22:51:55 -0300 Subject: [PATCH] Fix 32 bit again? --- src/gc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/gc.c b/src/gc.c index bee8e1c620d9d..3479a1262fd6e 100644 --- a/src/gc.c +++ b/src/gc.c @@ -3252,11 +3252,9 @@ void jl_gc_init(void) uint64_t constrained_mem = uv_get_constrained_memory(); if (constrained_mem > 0 && constrained_mem < total_mem) total_mem = constrained_mem; -#else - total_mem = total_mem > max_total_memory ? max_total_memory : total_mem; + max_total_memory = total_mem / 10 * 6; #endif - total_mem = total_mem / 10 * 6; // 60% of constrained memory t_start = jl_hrtime(); }