Skip to content

Commit

Permalink
Fix 32 bit again?
Browse files Browse the repository at this point in the history
  • Loading branch information
gbaraldi committed Feb 10, 2023
1 parent af18221 commit c311389
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/gc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit c311389

Please sign in to comment.