diff --git a/src/gc.c b/src/gc.c index a14c5143ebf26..c9dfc5c7905de 100644 --- a/src/gc.c +++ b/src/gc.c @@ -676,11 +676,10 @@ static memsize_t max_total_memory = (memsize_t) 2 * 1024 * 1024 * 1024 * 1024 * #else typedef uint32_t memsize_t; static const size_t default_collect_interval = 3200 * 1024 * sizeof(void*); -static const size_t max_collect_interval = 500000000UL; // Work really hard to stay within 2GB // Alternative is to risk running out of address space // on 32 bit architectures. -static memsize_t max_total_memory = (memsize_t) 2 * 1024 * 1024 * 768; // The new heuristics use all the heap, which makes it run out +static memsize_t max_total_memory = (memsize_t) 1024 * 1024 * 1024; // The new heuristics use all the heap, which makes it run out #endif // global variables for GC stats