Hello,
I’m using the preview version of Slicer to do a segmentation on a 2.6 GB micro-CT scan saved as a TIF. I can do a simple segmentation, but when I try to apply the mask or split volume effect, the Slicer application crashes. I’ve checked the error logs and there were no errors generated. I’m using a Windows machine with 32GB RAM and ~500GB free disk space.
I also generated the following warnings when trying to use the islands effect:
Slicer has caught an internal error.
You may be able to continue from this point, but results are undefined.
Suggested action is to save your work and restart.
If you have a repeatable sequence of steps that causes this message, please report the issue > > following instructions available at http://slicer.org
The message detail is:
Exception thrown in event: d:\d\p\slicer-0-build\itk\modules\core\common\include\itkImportImageContainer.hxx:199:
Failed to allocate memory for image.
and
Slicer has caught an internal error.
You may be able to continue from this point, but results are undefined.
Suggested action is to save your work and restart.
If you have a repeatable sequence of steps that causes this message, please report the issue following instructions available at http://slicer.org
The message detail is:
Exception thrown in event: bad allocation
I expected the amount of memory to be sufficient, but could this be the problem? Thanks for your advice.
It seems that you run out of memory. If you don’t expect this then maybe some extra memory allocations are performed or extents are computed incorrectly. You can add a breakpoint before itkImportImageContainer.hxx:199 and inspect variables to see if the memory that is attempted to be allocated have sensible size.