From 845618a77a4b57f22ab3132f145d2c090a376a07 Mon Sep 17 00:00:00 2001 From: Christian Guinard <28689358+christiangnrd@users.noreply.github.com> Date: Mon, 13 Jul 2026 11:56:10 -0300 Subject: [PATCH] Add speculative_count to memory calculation --- src/ParallelTestRunner.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ParallelTestRunner.jl b/src/ParallelTestRunner.jl index 35f332b..e24e1d3 100644 --- a/src/ParallelTestRunner.jl +++ b/src/ParallelTestRunner.jl @@ -487,7 +487,7 @@ function available_memory() page_size = Int(@ccall sysconf(29::UInt32)::UInt32) - return (Int(vms[].free_count) + Int(vms[].inactive_count) + Int(vms[].purgeable_count) + Int(vms[].compressor_page_count)) * page_size + return (Int(vms[].free_count) + Int(vms[].inactive_count) + Int(vms[].purgeable_count) + Int(vms[].compressor_page_count) + Int(vms[].speculative_count)) * page_size end else