We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df3fcb0 commit e6a18f3Copy full SHA for e6a18f3
src/gc.c
@@ -3584,12 +3584,6 @@ void jl_gc_init(void)
3584
uint64_t constrained_mem = uv_get_constrained_memory();
3585
if (constrained_mem > 0 && constrained_mem < total_mem)
3586
total_mem = constrained_mem;
3587
- double percent;
3588
- if (total_mem < 128e9)
3589
- percent = total_mem * 2.34375e-12 + 0.6; // 60% at 0 gigs and 90% at 128 to not
3590
- else // overcommit too much on memory contrained devices
3591
- percent = 0.8;
3592
- max_total_memory = total_mem * percent;
3593
#endif
3594
if (jl_options.heap_size_hint)
3595
jl_gc_set_max_memory(jl_options.heap_size_hint);
0 commit comments