[vtkusers] large number of images crashes the program

Xiaofeng Z xf10036 at hotmail.com
Sun Mar 13 12:20:24 EDT 2011


Sounds like you have an out of bound integer.  Are you assigning a int to short or unsigned to signed?

Xiaofeng Zhao





From: sosca7 at hotmail.com
To: vtkusers at vtk.org
Date: Sun, 13 Mar 2011 13:28:10 +0000
Subject: [vtkusers] large number of images crashes the program










hello everyone,

i have built a vtkvolume and i works well but when i run the code for 434 images the program crashes and i got a runtime error, has anyone any suggestion to save memory ?

 

error:

unable to allocate 56885248 elements of size 2......

 my trials:

i tired to shrink the volume using vtkImageShrink3D with factors of (4,4,4)
 		 	   		  

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110313/7b5c741a/attachment.htm>


More information about the vtkusers mailing list