[vtkusers] Memory leaks even without creating any vtkobjects

Andreas Brüning mail-andi at web.de
Tue Jul 29 10:52:45 EDT 2008


Dear VTK-User,

i get some memory leaks when i integrate the vtk header and libs in my existing VS 2005 project. I work with C++ and MFC and the only thing i did is to put the libary and header information in the project properties and include a few vtk headerfiles to my sourcecode. When i close my programm without creation of any vtkobjects i can see the remaining data in the VS Output window. They look like this:

{1278} normal block at 0x0628A738, 24 bytes long.
 Data: <   N{  N        > 88 1A 01 4E 7B 1B 01 4E 00 00 00 00 00 00 00 00 
{1163} normal block at 0x06286A40, 31 bytes long.
 Data: <vtkWin32RenderWi> 76 74 6B 57 69 6E 33 32 52 65 6E 64 65 72 57 69 
{1162} normal block at 0x062869E8, 27 bytes long.
 Data: <vtkWin32OpenGLRe> 76 74 6B 57 69 6E 33 32 4F 70 65 6E 47 4C 52 65 
{1161} normal block at 0x06286990, 28 bytes long.
 Data: <vtkOpenGLFreeTyp> 76 74 6B 4F 70 65 6E 47 4C 46 72 65 65 54 79 70 
{1160} normal block at 0x06286938, 21 bytes long.
.
.
.

I think there is an entry from every vtk Class and all in all it is around 2 MB. When i create vtk objects i have this remaining data too. 
Does anybody know where this data come from and how i can delete them? Maybe it is a wrong setting in the properties.


Thanks in advance
Andi 

_______________________________________________________________________
Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 30 Tage
kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220




More information about the vtkusers mailing list