[Insight-developers] how to attack memory leaks

Karthik Krishnan Karthik.Krishnan at kitware.com
Wed Jun 15 11:18:54 EDT 2005


Use valgrind ( on linux )

valgrind -v executableFoo argumentsForFoo


Leila baghdadi wrote:

>hi everyone,
>
>I have that uses a number of itk classes to perform some segmentation, I
>know that at least one of the classes has a leak, I can see how its
>memory usage grows as the program proceeds until at some point it dies,
>
>Unfortunately, I do not have any good program to solve this problem, I
>tried disconnecting the pipeline and deleting the previous filters but
>no luck,
>
>I am basically looking for some suggestions to fix this problem,
>
>Thanks for your time
>
>Leila
>
>_______________________________________________
>Insight-developers mailing list
>Insight-developers at itk.org
>http://www.itk.org/mailman/listinfo/insight-developers
>
>  
>


More information about the Insight-developers mailing list