We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58885d2 commit 14bb91cCopy full SHA for 14bb91c
test/deltares_testbench/src/suite/test_set_runner.py
@@ -3,6 +3,7 @@
3
Copyright (C) Stichting Deltares, 2026
4
"""
5
6
+import gc
7
import multiprocessing
8
import os
9
import shutil
@@ -107,6 +108,10 @@ def run(self) -> None:
107
108
# Prepare DVC cases: batch-download all .dvc files in one command
109
self.__prepare_dvc_test_cases()
110
111
+ # Free memory accumulated during DVC preparation (repo objects, file
112
+ # indices, etc.) so the forked worker pool starts with a lean parent.
113
+ gc.collect()
114
+
115
results = (
116
self.run_tests_in_parallel()
117
if self.__settings.command_line_settings.parallel
0 commit comments