[vtkusers] What will happen if I don't delete vtk objects on exit?

hampycalc i.am.tom.hampshire at googlemail.com
Fri Dec 18 06:24:18 EST 2009


The operating system will free all application memory when the thread is
terminated, so all memory assigned to your vtk objects will also be freed.
If you don't delete your objects, you will only get memory leaks while the
application is running. If you are just running a short script you *could*
not bother deleting your objects.... although it is good practice to do so.

Regards


KS Jothybasu wrote:
> 
> Hi,
> 
> Could some one tell me what will happen if I don't delete my vtk objects
> on
> application exit?
> 
> Thanks
> 
> Jothy
> 
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 
> 

-- 
View this message in context: http://old.nabble.com/What-will-happen-if-I-don%27t-delete-vtk-objects-on-exit--tp26841954p26842113.html
Sent from the VTK - Users mailing list archive at Nabble.com.




More information about the vtkusers mailing list