Failure to Allocate Memory - Image Registration

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Failure to Allocate Memory - Image Registration

Eric Larson
Hi,
  When attempting to register two images and generate an output volume in slicer 4.1.1 using General Registration, I get the following error:

(
ERROR: In ..\..\..\..\Slicer-411-0\Base\QTCLI\vtkSlicerCLIModuleLogic.cxx, line 1648

vtkSlicerCLIModuleLogic (15BA0318): General Registration (BRAINS) terminated with an exception:


itk::ExceptionObject (075397EC)


Location: "float *__thiscall itk::ImportImageContainer<unsigned long,float>::AllocateElements(unsigned long) const"


File: c:\d\p\slicer-411-package-0\itkv3\code\common\itkImportImageContainer.txx


Line: 188


Description: Failed to allocate memory for image.

                                                                      )




The file:   c:\d\p\slicer-411-package-0\itkv3\code\common\itkImportImageContainer.txx  does not exist, which might be why this error is occurring(?)  I have ITK 4.2.0 and VTK 5.10.0, is there some other package that I need that I don't know about which contains this file?


Thanks,

   -Eric




_______________________________________________
slicer-users mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
To unsubscribe: send email to [hidden email] with unsubscribe as the subject
Reply | Threaded
Open this post in threaded view
|

Re: Failure to Allocate Memory - Image Registration

Andras Lasso

“Description: Failed to allocate memory for image.” indicates that you don’t have enough memory space. Have you built a 64-bit Slicer? You cannot expect a 32-bit executable to deal with any moderately complex problem. The recommended solution is to build Slicer in 64-bit mode.

 

Possible workarounds for 32-bit executables:

-          You have somewhat more memory for the registration if you run the registration module in a separate process. To do that open Edit / Application Settings / Modules and check the “Prefer Executable CLIs” option.

-          Decrease the size and/or resolution of the input and output images

 

Andras

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Eric Larson
Sent: Friday, September 21, 2012 5:37 PM
To: [hidden email]
Subject: [slicer-users] Failure to Allocate Memory - Image Registration

 

Hi,
  When attempting to register two images and generate an output volume in slicer 4.1.1 using General Registration, I get the following error:

(
ERROR: In ..\..\..\..\Slicer-411-0\Base\QTCLI\vtkSlicerCLIModuleLogic.cxx, line 1648

vtkSlicerCLIModuleLogic (15BA0318): General Registration (BRAINS) terminated with an exception:

 

itk::ExceptionObject (075397EC)

 

Location: "float *__thiscall itk::ImportImageContainer<unsigned long,float>::AllocateElements(unsigned long) const"

 

File: c:\d\p\slicer-411-package-0\itkv3\code\common\itkImportImageContainer.txx

 

Line: 188

 

Description: Failed to allocate memory for image.

                                                                      )

 

 

 

The file:   c:\d\p\slicer-411-package-0\itkv3\code\common\itkImportImageContainer.txx  does not exist, which might be why this error is occurring(?)  I have ITK 4.2.0 and VTK 5.10.0, is there some other package that I need that I don't know about which contains this file?

 

Thanks,

   -Eric

 

 


_______________________________________________
slicer-users mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
To unsubscribe: send email to [hidden email] with unsubscribe as the subject
Reply | Threaded
Open this post in threaded view
|

Re: Failure to Allocate Memory - Image Registration

Julien Finet
For information, I just added a FAQ section for the next time there is a memory issue question as it happens quite often:
Anyone is welcome to rephrase :-)

Thanks,
Julien

On Fri, Sep 21, 2012 at 6:03 PM, Andras Lasso <[hidden email]> wrote:

“Description: Failed to allocate memory for image.” indicates that you don’t have enough memory space. Have you built a 64-bit Slicer? You cannot expect a 32-bit executable to deal with any moderately complex problem. The recommended solution is to build Slicer in 64-bit mode.

 

Possible workarounds for 32-bit executables:

-          You have somewhat more memory for the registration if you run the registration module in a separate process. To do that open Edit / Application Settings / Modules and check the “Prefer Executable CLIs” option.

-          Decrease the size and/or resolution of the input and output images

 

Andras

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Eric Larson
Sent: Friday, September 21, 2012 5:37 PM
To: [hidden email]
Subject: [slicer-users] Failure to Allocate Memory - Image Registration

 

Hi,
  When attempting to register two images and generate an output volume in slicer 4.1.1 using General Registration, I get the following error:

(
ERROR: In ..\..\..\..\Slicer-411-0\Base\QTCLI\vtkSlicerCLIModuleLogic.cxx, line 1648

vtkSlicerCLIModuleLogic (15BA0318): General Registration (BRAINS) terminated with an exception:

 

itk::ExceptionObject (075397EC)

 

Location: "float *__thiscall itk::ImportImageContainer<unsigned long,float>::AllocateElements(unsigned long) const"

 

File: c:\d\p\slicer-411-package-0\itkv3\code\common\itkImportImageContainer.txx

 

Line: 188

 

Description: Failed to allocate memory for image.

                                                                      )

 

 

 

The file:   c:\d\p\slicer-411-package-0\itkv3\code\common\itkImportImageContainer.txx  does not exist, which might be why this error is occurring(?)  I have ITK 4.2.0 and VTK 5.10.0, is there some other package that I need that I don't know about which contains this file?

 

Thanks,

   -Eric

 

 


_______________________________________________
slicer-users mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
To unsubscribe: send email to [hidden email] with unsubscribe as the subject


_______________________________________________
slicer-users mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
To unsubscribe: send email to [hidden email] with unsubscribe as the subject
Reply | Threaded
Open this post in threaded view
|

Re: Failure to Allocate Memory - Image Registration

Steve Pieper
Thanks for adding that Julien!

Eric - I added some pointers in the FAQ to modules that you can use to
reduce the size of your data.

-Steve

On Fri, Sep 21, 2012 at 6:15 PM, Julien Finet <[hidden email]> wrote:

> For information, I just added a FAQ section for the next time there is a
> memory issue question as it happens quite often:
> http://www.slicer.org/slicerWiki/index.php/Documentation/4.1/FAQ#I_read_errors_in_the_logs_complaining_about_memory
> http://www.slicer.org/slicerWiki/index.php/Documentation/Nightly/FAQ#I_read_errors_in_the_logs_complaining_about_memory
> Anyone is welcome to rephrase :-)
>
> Thanks,
> Julien
>
> On Fri, Sep 21, 2012 at 6:03 PM, Andras Lasso <[hidden email]> wrote:
>>
>> “Description: Failed to allocate memory for image.” indicates that you
>> don’t have enough memory space. Have you built a 64-bit Slicer? You cannot
>> expect a 32-bit executable to deal with any moderately complex problem. The
>> recommended solution is to build Slicer in 64-bit mode.
>>
>>
>>
>> Possible workarounds for 32-bit executables:
>>
>> -          You have somewhat more memory for the registration if you run
>> the registration module in a separate process. To do that open Edit /
>> Application Settings / Modules and check the “Prefer Executable CLIs”
>> option.
>>
>> -          Decrease the size and/or resolution of the input and output
>> images
>>
>>
>>
>> Andras
>>
>>
>>
>> From: [hidden email]
>> [mailto:[hidden email]] On Behalf Of Eric Larson
>> Sent: Friday, September 21, 2012 5:37 PM
>> To: [hidden email]
>> Subject: [slicer-users] Failure to Allocate Memory - Image Registration
>>
>>
>>
>> Hi,
>>   When attempting to register two images and generate an output volume in
>> slicer 4.1.1 using General Registration, I get the following error:
>>
>> (
>> ERROR: In ..\..\..\..\Slicer-411-0\Base\QTCLI\vtkSlicerCLIModuleLogic.cxx,
>> line 1648
>>
>> vtkSlicerCLIModuleLogic (15BA0318): General Registration (BRAINS)
>> terminated with an exception:
>>
>>
>>
>> itk::ExceptionObject (075397EC)
>>
>>
>>
>> Location: "float *__thiscall itk::ImportImageContainer<unsigned
>> long,float>::AllocateElements(unsigned long) const"
>>
>>
>>
>> File:
>> c:\d\p\slicer-411-package-0\itkv3\code\common\itkImportImageContainer.txx
>>
>>
>>
>> Line: 188
>>
>>
>>
>> Description: Failed to allocate memory for image.
>>
>>                                                                       )
>>
>>
>>
>>
>>
>>
>>
>> The file:
>> c:\d\p\slicer-411-package-0\itkv3\code\common\itkImportImageContainer.txx
>> does not exist, which might be why this error is occurring(?)  I have ITK
>> 4.2.0 and VTK 5.10.0, is there some other package that I need that I don't
>> know about which contains this file?
>>
>>
>>
>> Thanks,
>>
>>    -Eric
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> slicer-users mailing list
>> [hidden email]
>> http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
>> To unsubscribe: send email to
>> [hidden email] with unsubscribe as the
>> subject
>
>
>
> _______________________________________________
> slicer-users mailing list
> [hidden email]
> http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
> To unsubscribe: send email to [hidden email]
> with unsubscribe as the subject
_______________________________________________
slicer-users mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
To unsubscribe: send email to [hidden email] with unsubscribe as the subject
Reply | Threaded
Open this post in threaded view
|

Re: Failure to Allocate Memory - Image Registration

Julien Finet
I updated the Nightly doc with your change.
The nightly doc will be used to generate the 4.2 doc.

Julien.

On Fri, Sep 21, 2012 at 6:33 PM, Steve Pieper <[hidden email]> wrote:
Thanks for adding that Julien!

Eric - I added some pointers in the FAQ to modules that you can use to
reduce the size of your data.

-Steve

On Fri, Sep 21, 2012 at 6:15 PM, Julien Finet <[hidden email]> wrote:
> For information, I just added a FAQ section for the next time there is a
> memory issue question as it happens quite often:
> http://www.slicer.org/slicerWiki/index.php/Documentation/4.1/FAQ#I_read_errors_in_the_logs_complaining_about_memory
> http://www.slicer.org/slicerWiki/index.php/Documentation/Nightly/FAQ#I_read_errors_in_the_logs_complaining_about_memory
> Anyone is welcome to rephrase :-)
>
> Thanks,
> Julien
>
> On Fri, Sep 21, 2012 at 6:03 PM, Andras Lasso <[hidden email]> wrote:
>>
>> “Description: Failed to allocate memory for image.” indicates that you
>> don’t have enough memory space. Have you built a 64-bit Slicer? You cannot
>> expect a 32-bit executable to deal with any moderately complex problem. The
>> recommended solution is to build Slicer in 64-bit mode.
>>
>>
>>
>> Possible workarounds for 32-bit executables:
>>
>> -          You have somewhat more memory for the registration if you run
>> the registration module in a separate process. To do that open Edit /
>> Application Settings / Modules and check the “Prefer Executable CLIs”
>> option.
>>
>> -          Decrease the size and/or resolution of the input and output
>> images
>>
>>
>>
>> Andras
>>
>>
>>
>> From: [hidden email]
>> [mailto:[hidden email]] On Behalf Of Eric Larson
>> Sent: Friday, September 21, 2012 5:37 PM
>> To: [hidden email]
>> Subject: [slicer-users] Failure to Allocate Memory - Image Registration
>>
>>
>>
>> Hi,
>>   When attempting to register two images and generate an output volume in
>> slicer 4.1.1 using General Registration, I get the following error:
>>
>> (
>> ERROR: In ..\..\..\..\Slicer-411-0\Base\QTCLI\vtkSlicerCLIModuleLogic.cxx,
>> line 1648
>>
>> vtkSlicerCLIModuleLogic (15BA0318): General Registration (BRAINS)
>> terminated with an exception:
>>
>>
>>
>> itk::ExceptionObject (075397EC)
>>
>>
>>
>> Location: "float *__thiscall itk::ImportImageContainer<unsigned
>> long,float>::AllocateElements(unsigned long) const"
>>
>>
>>
>> File:
>> c:\d\p\slicer-411-package-0\itkv3\code\common\itkImportImageContainer.txx
>>
>>
>>
>> Line: 188
>>
>>
>>
>> Description: Failed to allocate memory for image.
>>
>>                                                                       )
>>
>>
>>
>>
>>
>>
>>
>> The file:
>> c:\d\p\slicer-411-package-0\itkv3\code\common\itkImportImageContainer.txx
>> does not exist, which might be why this error is occurring(?)  I have ITK
>> 4.2.0 and VTK 5.10.0, is there some other package that I need that I don't
>> know about which contains this file?
>>
>>
>>
>> Thanks,
>>
>>    -Eric
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> slicer-users mailing list
>> [hidden email]
>> http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
>> To unsubscribe: send email to
>> [hidden email] with unsubscribe as the
>> subject
>
>
>
> _______________________________________________
> slicer-users mailing list
> [hidden email]
> http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
> To unsubscribe: send email to [hidden email]
> with unsubscribe as the subject


_______________________________________________
slicer-users mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
To unsubscribe: send email to [hidden email] with unsubscribe as the subject