-
-
Notifications
You must be signed in to change notification settings - Fork 383
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allocate error #917
Comments
It depends on the images. What size are they? |
they are 512 512 80(80mb),and my pc is 8G. |
By default the scripts use double precision (see usage to change to single), so that's 160 Mb, and you'll need several multiples of this for both the images, and all the warp fields. You can try
to see how much RAM is available. The total installed on the machine is an upper limit, but it doesn't mean ANTs can allocate all of that, or even most of it. |
512x512x80 is large, and you get a x3 if you're doing a SyN registration. 8GB is definitely not enough. |
ok thank you guys. |
memory allocate error
when using antsRegistrationSyNQuick.sh, I found there is a error. It says "Failed to allocate memory for image"
Does it means I run out of RAM? How much I need for this?
antsRegistrationSyNQuick.sh -d 3 -f ~/0502_VENOUS.nii -m ~/0500_PRECON.nii -o output
Exception caught:
itk::MemoryAllocationError (0x7f3a20000940)
Location: "unknown"
File: /home/fiona/bin/antsBuild/staging/include/ITK-5.1/itkImportImageContainer.hxx
Line: 192
Description: Failed to allocate memory for image.
Ubtuntu 16.4
Type of system: laptop
The text was updated successfully, but these errors were encountered: