raidionics / Raidionics

Software for automatic segmentation and generation of standardized clinical reports of brain tumors from MRI volumes
https://raidionics.github.io/
BSD 2-Clause "Simplified" License
31 stars 4 forks source link

Software crashing/freezing when too many patients are sequentially processed #70

Open dbouget opened 6 months ago

dbouget commented 6 months ago

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).