Oh so the new garbage collector (GC) introduced in Python 3.14.0 was indeed memory hungry! That could explain why a pytest run that was working fine on 3.13 went OOM as soon as I switched it to 3.14. I am glad there is an explanation!
From what I understand the old GC was swapped back on for 3.14.5 and later.

#Python #ScientificComputing