[vtkusers] unable to allocate 178MB for an array
mfaieghi at westerneng.ca
Tue Nov 15 16:38:20 EST 2016
I am trying to extract surface of a goemetry and write it into a STL. I use
vtkSmartPointer<vtkDataSetSurfaceFilter> dsf =
But I am getting this error in vtkOutputWindow:
vtkIdTypeArray (00C30690): Unable to allocate 46656437 elements of size 4
This is about 187MB memory; however, I can not allocate this amount of
a 12GB RAM. I believe that I must be able to allocate this chunk of memory
but for some reason it does not go through. I tried to delete every other
arrays in my program to make sure that there are not any hidden consumption
of RAM but that didnot help.
I will be grateful if anyone has any idea how to fix this.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers