Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- The forum ‘Support forum ARCHIVED – Please use Slack Channel instead’ is closed to new topics and replies.
Tagged: Memory Allocation, normalization
Hello. I keep running into an error message, while running the normalization step. Do you know how I can allocate more memory?
Exception caught:
itk::MemoryAllocationError (00000024FAA29D40)
Location: “unknown”
File: c:\users\ningfei\desktop\ants\bypass\itkv4-install\include\itk-4.11\itkImportImageContainer.hxx
Line: 199
Description: Failed to allocate memory for image.
Using single precision for computations.
Input scalar image: C:\Users\hkbu227\Desktop\pat_0\anat_t1.nii
Reference image: C:\Users\hkbu227\Desktop\MATLAB\lead\templates\space\MNI_ICBM_2009b_NLIN_ASYM\t1.nii
Transform file does not exist: C:\Users\hkbu227\Desktop\pat_0\glanatComposite.h5
Can’t read initial transform C:\Users\hkbu227\Desktop\pat_0\glanatComposite.h5
Using single precision for computations.
Input scalar image: C:\Users\hkbu227\Desktop\pat_0\postop_tra.nii
Reference image: C:\Users\hkbu227\Desktop\MATLAB\lead\templates\space\MNI_ICBM_2009b_NLIN_ASYM\t1.nii
Transform file does not exist: C:\Users\hkbu227\Desktop\pat_0\glanatComposite.h5
Can’t read initial transform C:\Users\hkbu227\Desktop\pat_0\glanatComposite.h5
C:\Users\hkbu227\Desktop\pat_0\postop_cor.nii not found. Skip normalization…
C:\Users\hkbu227\Desktop\pat_0\postop_sag.nii not found. Skip normalization…
Exporting coregistration check images to C:\Users\hkbu227\Desktop\pat_0\checkreg…
Done.
** Process done.
Hi Heather,
You can’t allocate the memory manually. The program will do it during running. The error you got indicates that you haven’t enough memory in your computer. You need at least 16G RAM (or even larger) to run ANTs based normalization.
Best,
Ningfei