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

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Sat Sep 17 07:41:56 EDT 2011


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 203 bytes
Desc: Ceci est une signature ?lectronique PGP
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110917/85c220d5/attachment.pgp>


More information about the Insight-users mailing list