[vtkusers] growing RAM memory

chasank chasank at gmail.com
Sat May 21 16:59:34 EDT 2011


If you set NULL any kind of vtk object which is defined with vtkSmartPointer,
whatever its reference count, it releases the memory resource.
Your are defining a render window in a local scope, as soon as your function
ends, it will be deleted, you don't have to do anything. I think you have
another memory problems. Always be careful about scopes of your objects.


--
View this message in context: http://vtk.1045678.n5.nabble.com/growing-RAM-memory-tp4346305p4415578.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list