Describe the bug
Potential memory leak making the software freeze or crash after loading and processing multiple patients sequentially.
To Reproduce
The sweet spot seems to be around 8 or 10 patients, I do them one at a time (load new patient, segment, save, close completely (don’t save), load a new patient, etc. At some point (around the 8th or 10th time or so), I find Raidionics crashes. It is either totally crashes (and closes) or it complains about an image when the image is fine (if I close Raidionics and reopen the same image then its fine).