[vtkusers] How do I find leaks ?

Paul Tait - OPES Paul at opes.com.au
Tue May 23 00:40:07 EDT 2006


I have recently found out that my VTK app is leaking memory. I rebuilt VTK
with leaking switched on and I now get 6 dialog boxes of info. The first
thing I noticed was that I don’t expicitly use a lot of the objects so
they're obviously used by top level objects I do use. I have checked out my
app very carefully to see that all New()s are balanced with a Delete(). But
I'm still leaking :-((

So my theory is that some object is blocking the whole destruction process
by holding a reference. BUT who is the culprit??? Can anyone give me some
pointers on solving this problem

Thanks Paul

VTK 5.0 Windows  VC6  MFC

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.392 / Virus Database: 268.7.0/345 - Release Date: 22/05/2006
 




More information about the vtkusers mailing list