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 0b190b3 commit 883c19bCopy full SHA for 883c19b
test/testenv.jl
@@ -38,7 +38,7 @@ if !@isdefined(testenv_defined)
38
function addprocs_with_testenv(X; rr_allowed=true, kwargs...)
39
exename = rr_allowed ? `$rr_exename $test_exename` : test_exename
40
if X isa Integer
41
- heap_size=round(Int,(Sys.free_memory()/(1024^2)/(X+1)))
+ heap_size=round(Int,(Sys.total_memory()/(1024^2)/(X+1)))
42
push!(test_exeflags.exec, "--heap-size-hint=$(heap_size)M")
43
end
44
addprocs(X; exename=exename, exeflags=test_exeflags, kwargs...)
0 commit comments