From 2a771cad05d3340f047f63670596fb9013dca481 Mon Sep 17 00:00:00 2001 From: thorek1 Date: Mon, 11 Sep 2023 08:44:29 +0200 Subject: [PATCH] more aggressive GC in tests --- test/runtests.jl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/runtests.jl b/test/runtests.jl index a568dd8b..0a77e8b1 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -48,6 +48,9 @@ GC.gc() include("models/FS2000.jl") functionality_test(m, plots = false) for algorithm ∈ [:second_order,:pruned_second_order,:third_order,:pruned_third_order] + m = nothing + GC.gc() + include("models/FS2000.jl") functionality_test(m, algorithm = algorithm, plots = false) end end