Skip to content

Commit cf7f953

Browse files
committed
fix memory calculation for 32bit
1 parent 638ad63 commit cf7f953

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ end
121121
# determine parallelism
122122
if !set_jobs
123123
jobs = Sys.CPU_THREADS
124-
memory_jobs = Int(Sys.free_memory()) ÷ (2 * 2^30)
124+
memory_jobs = Int64(Sys.free_memory()) ÷ (2 * 2^30)
125125
jobs = max(1, min(jobs, memory_jobs))
126126
end
127127
@info "Running $jobs tests in parallel. If this is too many, specify the `--jobs` argument to the tests, or set the `JULIA_CPU_THREADS` environment variable."

0 commit comments

Comments
 (0)