[vtkusers] vtkDataArrayTemplate.txx, line 147

Sean McBride sean at rogue-research.com
Fri May 27 11:21:33 EDT 2016


On Fri, 27 May 2016 11:23:09 +0000, Flaviu2 via vtkusers said:

> Hi all of you.I want to ask you if someone has encountered to a VTK error:
>ERROR: In c:\vtk\vtk-6.1.0\common\core\vtkDataArrayTemplate.txx, line
>147vtkDoubleArray (070B6078): Unable to allocate 203948032 elements of
>size 8 bytes. 
>and has happened when I tried to read a DICOM CT serie with 779 slices,
>with vtkDICOMReader object, at
>m_pDICOMReader->Update();
>method ... the reading algorithm is the one usual one, like here, the
>only difference is that I have read it with this library (the series is
>DICOM jpeg lossless).
>Could you tell me why I have this error ?

That's 1556 MiB, which isn't all that much.  What OS are you using?  Are you building as a 32 bit or 64 bit process?  If 32 bit, then trying to allocate that much could easily fail.

Cheers,

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada




More information about the vtkusers mailing list