Skip to content

Commit

Permalink
Optimize memory use when precompiling
Browse files Browse the repository at this point in the history
This seems like a sensible followup to JuliaLang#46792

It's untested, I just used the github editor... and I don't know the optimal value, this just seemed sensible.
  • Loading branch information
PallHaraldsson authored Sep 30, 2022
1 parent 7273c48 commit 910bcff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions base/loading.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1685,6 +1685,7 @@ function create_expr_cache(pkg::PkgId, input::String, output::String, concrete_d
io = open(pipeline(addenv(`$(julia_cmd()::Cmd) -O0
--output-ji $output --output-incremental=yes
--startup-file=no --history-file=no --warn-overwrite=yes
--heap-size-hint=1G
--color=$(have_color === nothing ? "auto" : have_color ? "yes" : "no")
$trace
-`,
Expand Down

0 comments on commit 910bcff

Please sign in to comment.