Memory leak with DecayTreeFitter

It looks like there is a memory leak with DecayTreeFitter when run with a particular configuration. See the attached notes from @maryr . It seems to only be an issue with data from sprucing 24c2 for the BnoC_BuToKShhh . A minimal DV script to run the lines is also attached.

https://lhcb-productions.web.cern.ch/ana-prod/pipelines/?id=4369&ci_run=BnoC_Superliaison_lines&job=SprucePass24c2_Validation_BnoC_BuToKShhh

lhcb-datapkg/AnalysisProductions#617 (comment 8203339)

dv_options.yaml

options.py

DTF_Spruce24c2_notes.pdf