<div dir="ltr">Send a code snippet that demonstrates the leak you are talking about. Sounds like there is a leak internal to a class that does not get cleaned up even though its containing object does get properly cleaned up....<div>
<br></div><div><br></div><div>Thx,</div><div>David</div><div><br><br><div class="gmail_quote">On Thu, Jul 31, 2008 at 10:11 AM, Andreas Brüning <span dir="ltr">&lt;<a href="mailto:mail-andi@web.de">mail-andi@web.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi everyone,<br>
<br>
i need help to clean up my application. I visualize some medical data and i am using C++,MFC and VS2005. My vtk version is a nightly version from around a week ago. By the way, regarding to my post on July/29, i solved the problem with memory leaks without creating any vtk objects by loading all vtk dll delayed. (strange MFC behavoir )<br>

<br>
My new problem is that i canŽt clean up my created vtk objects properly. &nbsp;I call the Delete method for all my vtk objects and when i debug my code all vtk objects are deleted, but the memory isnŽt completely freed. If i handle bigger datasets it leaks more. I also checked twice if forget to call a Delete method a vtk object ;-)<br>

<br>
Even if i create a object like maybe vtkImport (because it seems to be a quite big object) and call the Delete method immediately after it, the object is deleted but the memory isnŽt freed.<br>
<br>
I googled already half a day and i don&#39;t want to restart my programm all the time if i visualize another dataset. Did anybody had the same thing or know want can be wrong? I think it could be another wrong project property setting or maybe i use CMake with wrong settings.<br>

<br>
I could really need help. Thank in advance<br>
Andi<br>
____________________________________________________________<br>
Großes Kino für zu Hause - Kostenlos für alle <a href="http://WEB.DE" target="_blank">WEB.DE</a> Nutzer!<br>
Jetzt kostenlos anmelden unter <a href="http://www.blockbuster.web.de" target="_blank">http://www.blockbuster.web.de</a><br>
<br>
_______________________________________________<br>
This is the private VTK discussion list.<br>
Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div></div>