[ITK] Memory leaks with ITK and MFC
Jean-Christophe Fillion-Robin
jchris.fillionr at kitware.com
Thu Mar 3 02:43:41 EST 2016
Hi Kit,
Thanks for sharing the screenshot.
We can see that you created the files TestOCTLib2012.h,
TestOCTLib2012View.h and TestOCTLib2012Doc.h.
But, to better understand the issue (if any), I suggest you either share
the source code of your project or create a minimal example allowing to
reproduce the problem.
Creating a minimal example would be ideal, it could then be added as a test
within ITK.
Hth
Jc
On Tue, Mar 1, 2016 at 5:24 PM, Lee, Kyungmoo <kyungmoo-lee at uiowa.edu>
wrote:
> Hi Matt,
>
>
>
> Thank you for replying. I would like to use ITK in my MFC application. It
> has another memory-related problem in my application (See the following
> figure). I guess that there is a conflict between ITK smart pointer and MFC
> structure. If you fix InsightApplications-4.8.0/ItkMFC, it would be a good
> reference for my MFC programming. Thank you so much!!!
>
>
>
> Kit
>
>
>
> -----Original Message-----
> From: Matt McCormick [mailto:matt.mccormick at kitware.com]
> Sent: Tuesday, March 01, 2016 4:04 PM
> To: Lee, Kyungmoo <kyungmoo-lee at uiowa.edu>
> Cc: community at itk.org
> Subject: Re: [ITK] Memory leaks with ITK and MFC
>
>
>
> Hi Kit,
>
>
>
> We are in the process of deprecating InsightApplications.
>
>
>
> However, if you create an MFC application that uses ITK, there should be
> no issues or memory leaks.
>
>
>
> HTH,
>
> Matt
>
>
>
> On Mon, Feb 29, 2016 at 3:32 PM, Lee, Kyungmoo <kyungmoo-lee at uiowa.edu>
> wrote:
>
> > Dear all,
>
> >
>
> >
>
> >
>
> > When I run InsightApplications-4.8.0/ItkMFC using ITK-4.8.2, MS
>
> > Windows, and Visual Studio 2010/2012, I found memory leaks. Other
>
> > persons in the following links have the same problem. I cannot find
>
> > any solution on the web. Please help me. Thank you.
>
> >
>
> >
>
> >
>
> > https://cmake.org/pipermail/insight-users/2007-July/022885.html
>
> >
>
> > http://itk-insight-users.2283740.n2.nabble.com/No-one-knows-the-ITK-MF
>
> > C-memory-leak-problem-td7583950.html
>
> >
>
> >
>
> >
>
> > Kit
>
> >
>
> >
>
> >
>
> >
>
> > _______________________________________________
>
> > Community mailing list
>
> > Community at itk.org
>
> > http://public.kitware.com/mailman/listinfo/community
>
> >
>
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/mailman/listinfo/community
>
>
--
+1 919 869 8849
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20160303/7452bbda/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 150441 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/community/attachments/20160303/7452bbda/attachment-0001.png>
More information about the Community
mailing list