[Insight-users] itk::ExceptionObject(0105F354) - Failed to allocate memory for image

John Drescher drescherjm at gmail.com
Fri Jul 20 10:16:25 EDT 2012


On Fri, Jul 20, 2012 at 3:52 AM, Aldo Mejia Rodriguez
<armero83 at gmail.com> wrote:
> Hello insight-users comunity,
>
> I'm handling about 600 - 800 MB of data but I get this:
> ------------------------------------------------------------------------------------------------------
> itk::ExceptionObject (0105F354)
> Location: "float*_thiscall itk::ImportImageContainer<unsigned
> long,float>::AllocateElements(unsigned long) const"
> File: c:\program
> files\insighttoolkit-3.16.0\code\common\itkImportImageContainer.txx
> Line: 188
> Description: Failed to allocate memory for image.
> ------------------------------------------------------------------------------------------------------
>
> Does anybody have an idea how to solve this problem?
>

The easiest way to solve this problem is to compile for 64 bits.
Remember when you compile for 32 bits under windows you will be
limited to ~1.2 GB for the largest single allocation regardless of how
much ram you have or virtual memory.

John


More information about the Insight-users mailing list