[Insight-users] Help needed: memory Leak in ReconstructionByDilationImageFilter

Richard Beare richard.beare at gmail.com
Sun Sep 18 06:39:50 EDT 2011


I've run a couple of tests with the mac leak detector and didn't see anything.

2011/9/17 Gaëtan Lehmann <gaetan.lehmann at jouy.inra.fr>:
>
> Hi,
>
> The memory leak message is not more detailed than that?
> I'm afraid we can't do much with that, unfortunately...
>
> Regards,
>
> Gaëtan
>
>
> Le 14 sept. 11 à 18:11, qi yang a écrit :
>
>> Hi,
>>
>> I have a memory leaking problem bothered me for hours...
>>
>> My VS2010 detected a big memory leak after "filter->Update()" of
>> ReconstructionByDilationImageFilter.
>> The related code is as following:
>> typedef itk::ReconstructionByDilationImageFilter<ImageType, ImageType>
>> FilterType;
>>
>> FilterType::Pointer filter = FilterType::New();
>>
>> filter->SetMarkerImage(markerImage);
>>
>> filter->SetMaskImage(maskImage);
>>
>> filter->Update();
>>
>> Do I need to release something after using the filter? What's the related
>> function?
>>
>> Thanks for any tips!!
>>
>> Thanks,
>> Tina
>> _____________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Kitware offers ITK Training Courses, for more information visit:
>> http://www.kitware.com/products/protraining.html
>>
>> Please keep messages on-topic and check the ITK FAQ at:
>> http://www.itk.org/Wiki/ITK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.itk.org/mailman/listinfo/insight-users
>
> --
> Gaëtan Lehmann
> Biologie du Développement et de la Reproduction
> INRA de Jouy-en-Josas (France)
> tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
> http://mima2.jouy.inra.fr  http://www.itk.org
> http://www.bepo.fr
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>


More information about the Insight-users mailing list