[vtkusers] Why am I always running low on memory?
Glen Lehmann
glehmann at atamai.com
Sun Sep 3 08:24:01 EDT 2006
Hi Rashed,
You can try turning on VTK_DEBUG_LEAKS in your CMakeCache.txt file and
rebuild VTK. Next, open and close your program. VTK will report any
object instances that are still hanging around. Cleaning these up
should be a good start.
Cheers,
Glen
On 02/09/06, Rashed Karim <rashed.karim at gmail.com> wrote:
> Hi everyone,
>
> I have a vtk program where I have two rendering screens, and I do some sort
> of region growing segmentation stuff. Everytime I run my application, after
> a little while I see my RAM space usage shoot-up. I do the usual
> vtkSomeClass->Delete( ) for every instance I create. I have a feeling I am
> not deleting the instances in the right places. When should the delete
> function be called? Or any guesses as to why I may be running low on memory?
>
> Any help will be appreciated,
>
> Thanks
>
> --
> Rashed
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
>
More information about the vtkusers
mailing list