[Insight-users] ImageSeriesReader memory allocation for large datasets

Luis Ibanez luis.ibanez at kitware.com
Mon Apr 14 16:40:26 EDT 2008


Hi Marius,

Are you running this in a Windows 64 bits machine ?

Otherwise, Windows 32 processes can only manage 2Gb of RAM
regardless whether you have more RAM available in your machine.

BTW: you mention the number of slices, and the number of bits
      per pixel, but not the number of pixels per slice.
      Could you please clarify ?


    Thanks


       Luis


------------------
Marius Erdt wrote:
> Hello,
> 
> I'm getting the following memory allocation error together with the 
> itk::ImageSeriesReader when loading series of png images:
> 
> d:\itk\src\insighttoolkit-3.4.0\code\common\itkImportImageContainer.txx:188: 
> 
> Failed to allocate memory for image.
> 
> However, the data (about 1000 slices of 16Bit png or ~560 Mb) should fit 
> into main memory (4Gbyte). Since the data is just loaded, the Windows 
> data allocation limit for a single process should also not be the problem.
> 
> I'm experiencing this behavior not just for png images but for all big 
> datasets I want to load with itk. Does anyone know what exactly the 
> problem is or how to load such big data sets with itk?
> 
> Thanks for help,
> Marius
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 


More information about the Insight-users mailing list