Then we have:
No memory leak:
reads a .CR2, Dynamic Crop, Masked Histogram Stretch, write .jpg
Yes memory leak:
reads a .tif, does ABE, CanonBandingReduction script (V6), ABE, Histogram Stretch, write .jpg
So we might have caught it by elimination: can you confirm that if you suppress the call to a script, then the memory leak does not happen?
If what I suspect is true, then the memory leak is not such, but just JavaScript's garbage collector eating memory (that is, lazily not releasing unused objects after script termination). This should not happen, but if we can find evidence...