Trying to make a STL from a NRRD

I Imported a nrrd file and then used Segment Editor module to create a segment with the appropriate threseholds that I was looking for, upon this I recieve the error Traceback (most recent call last):
File “C:\Program Files\Slicer 4.10.2\lib\Slicer-4.10\qt-scripted-modules\SegmentEditorEffects\SegmentEditorEffects\SegmentEditorThresholdEffect.py”, line 349, in onApply
modifierLabelmap = self.scriptedEffect.defaultModifierLabelmap()
MemoryError: std::bad_alloc: bad allocation

You have run out of memory. Crop the master volume using Crop volume module to the relevant region, maybe also increase the voxel size if needed and/or increase virtual memory size on your computer.

1 Like

Your computer ran out of memory during the task. How big is your dataset, and how much RAM do you have on it?

Typical suggestion for RAM is 6-10X of your dataset.

Mail](https://go.microsoft.com/fwlink/?LinkId=550986) for Windows 10

1 Like

data set is around 10gb file, my computer has 32gb ram and a 1060gtx

Yep, you need more memory. Follow @lassoan suggestions.