[vtkusers] vtkPointLocator - Memory problem
A. Burak Yoldemir
yoldemir at gmail.com
Mon Apr 4 07:09:23 EDT 2011
Hello all,
I am working on a large project and a part of it consumes a huge amount of
memory (more than 10 GB), making the program crash. In that part of the
program, I repeatedly call the *FindPointsWithinRadius *function of
the *vtkPointLocator
*class. I am curious whether locating the points may cause such a large
memory consumption. Here are some details:
The dataset of the locator is set once at the very beginning. Dataset
consists of approximately 20k points. I call *FindPointsWithinRadius *function
approximately 20k times, and at each time, approximately 50 to 100 points
are located.
Would this operation consume a large amount of memory? If so, is there any
way I can release this memory after locating the points?
Thanks in advance,
Burak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110404/b5bddbae/attachment.htm>
More information about the vtkusers
mailing list