[vtkusers] vtkFeatureEdges +memory problem = problem found, no solution yet !

Sebastien Auclair sxa at fluent.com
Wed May 28 10:41:26 EDT 2003


Will need a VTK GURU for this one !
When using vtkFeatureEdges, we indirectly use vtkPointLocator.
This class initiates a list of 125000 vtkIdListPtr !!! (This takes 500 K .)

See line 1343 ::=   this->HashTable = new
vtkIdListPtr[this->NumberOfBuckets];
In function vtkPointLocator::InitPointInsertion()

But i was wrong on one thing, this gets to be released when the
vtkFeatureEdges is Deleted... But still, vtkFeatureEdges instances takes too
much space.
We need to generate thousands of vtkFeatureEdges instances.... if they take
500 K each ,... you know !

Thanks for any help !

_______________________________________________
Seb




More information about the vtkusers mailing list