Skip to content

[ATLASDPD-2027] fix memleak in VertexIterativeFitMergingTool

There is a memory leak in the iterative vertex merging step (fitSeedVertexCluster) of the VertexIterativeFitMergingTool. If more than one merging step happens, the intermediate merged vertices would leak.

This MR should fix most of this. Local testing on a data file shows the estimated leak rate drop from 350kb/evt to 35kb/evt, and the vmem and RSS now stop growing after the first ~100 events.

CC @mvanadia @kbenkend @pgadow

Merge request reports

Loading