Hey guys,<div><br></div><div>My code is crashing after I make a large number of actors and contour filter them all (80+ datasets with 40k points each and many data arrays). In visual studios debugger, the </div><div><br></div>
<div><div>template <class T></div><div>int vtkDataArrayTemplate<T>::Allocate(vtkIdType sz, vtkIdType)</div><div><br></div><div>is aborting from a malloc returning 0.</div><div><br></div><div><div> this->Array = static_cast<T*>(malloc(static_cast<size_t>(newSize)</div>
<div> * sizeof(T)));</div><div> if(this->Array==0)</div><div> {</div><div> vtkErrorMacro("Unable to allocate " << newSize</div><div> << " elements of size " << sizeof(T)</div>
<div> << " bytes. ");</div><div> #if !defined NDEBUG</div><div> // We're debugging, crash here preserving the stack</div><div> <b>abort(); </b></div><div><br></div><div>
This occurs after reading in the data and trying to render 80 contour filters... Is this a result of my computer's memory limitation? In my windows task manager, I see my application using about 900 MB of RAM when the crash hits...</div>
<div><br></div><div><br></div></div></div>