Memory leak with switch( mcMatch('([ X --> [X+]CC [X-]CC ... ]CC) ')
I see a memory leak when executing a fairly simple davinci job using physselpython and combining two muons.
This leaks to such a degree that it fails executing 50 events on a 256gb machine. Also tested with v51r0, same result.
To reproduce
lhcb-proxy-init
lb-dirac dirac-dms-get-file /lhcb/MC/Upgrade/LDST/00076726/0000/00076726_00000042_1.ldst
lb-run DaVinci/v54r0 gaudirun.py optsfile.py
Conclusion: This is not a leak, just something that could take unreasonable amount of memory and CPU. See #10 (comment 5065476)