[Insight-developers] how to attack memory leaks

Mathieu Malaterre mathieu.malaterre at kitware.com
Wed Jun 15 11:45:39 EDT 2005


Actually it's:

valgrind -v --tool=memcheck --show-reachable=yes ./myexe myargs

(assuming you are not creating childs process)
Mathieu

On Jun 15, 2005, at 11:18 AM, Karthik Krishnan wrote:

> 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
>>
>>
> _______________________________________________
> 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