Hi Arnaud, <br><br>we have a joke here : "if you have mem leaks, buy RAM !" ;) <br><br>Anyway, you finding is useful and we must have a look at these leaks. In short term I however doubt that we manage to find time to track them, but we will look. Do ITK have similar debug flag ? <br>
<br>Thanks, <br>David<br><br><div class="gmail_quote">On Tue, Jun 15, 2010 at 21:47, Arnaud GELAS <span dir="ltr"><<a href="mailto:arnaud_gelas@hms.harvard.edu">arnaud_gelas@hms.harvard.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
I have just ran vv, opened one image and I get the following leaks.<br>
<br>
Arnaud<br>
<br>
vtkDebugLeaks has detected LEAKS!<br>
Class "vtkCornerAnnotation" has 12 instances still around.<br>
Class "vtkOpenGLScalarsToColorsPainter" has 20 instances still around.<br>
Class "vtkCellData" has 123 instances still around.<br>
Class "vtkCompositePainter" has 20 instances still around.<br>
Class "vtkOpenGLImageActor" has 12 instances still around.<br>
Class "vtkCursor2D" has 12 instances still around.<br>
Class "vtkInformationIntegerVectorValue" has 50 instances still around.<br>
Class "vtkCursor3D" has 12 instances still around.<br>
Class "vtkPointsPainter" has 4 instances still around.<br>
Class "vtkInformationVector" has 734 instances still around.<br>
Class "vtkPointData" has 123 instances still around.<br>
Class "vtkProperty2D" has 21 instances still around.<br>
Class "vtkOpenGLDisplayListPainter" has 20 instances still around.<br>
Class "vtkPolygonsPainter" has 4 instances still around.<br>
Class "vtkTrivialProducer" has 14 instances still around.<br>
Class "vtkMatrix4x4" has 80 instances still around.<br>
Class "vtkCoordinate" has 144 instances still around.<br>
Class "vtkBox" has 12 instances still around.<br>
Class "vtkPoints" has 218 instances still around.<br>
Class "vtkInformation" has 1237 instances still around.<br>
Class "vtkLine" has 92 instances still around.<br>
Class "vtkInformationStringVectorValue" has 60 instances still around.<br>
Class "vtkMultiThreader" has 12 instances still around.<br>
Class "vtkMarchingSquares" has 16 instances still around.<br>
Class "vtkInformationIntegerPointerValue" has 23 instances still around.<br>
Class "vtkOpenGLCoincidentTopologyResolutionPainter" has 20 instances still around.<br>
Class "vtkOpenGLLightingPainter" has 20 instances still around.<br>
Class "vtkPixel" has 46 instances still around.<br>
Class "vtkPolyData" has 100 instances still around.<br>
Class "vtkLookupTable" has 13 instances still around.<br>
Class "vtkGlyph3D" has 12 instances still around.<br>
Class "vtkActor2D" has 60 instances still around.<br>
Class "vtkPainterPolyDataMapper" has 20 instances still around.<br>
Class "vtkHardwareSelectionPolyDataPainter" has 20 instances still around.<br>
Class "vtkOpenGLActor" has 28 instances still around.<br>
Class "vtkIdList" has 184 instances still around.<br>
Class "vtkTStripsPainter" has 4 instances still around.<br>
Class "vtkDoubleArray" has 200 instances still around.<br>
Class "vtkInformationDoubleValue" has 13 instances still around.<br>
Class "vtkAlgorithmOutput" has 87 instances still around.<br>
Class "vtkDefaultPainter" has 20 instances still around.<br>
Class "vtkInformationIntegerValue" has 2505 instances still around.<br>
Class "vtkOpenGLPolyDataMapper2D" has 12 instances still around.<br>
Class "vtkTextProperty" has 99 instances still around.<br>
Class "vtkExtentTranslator" has 3 instances still around.<br>
Class "vtkCellArray" has 35 instances still around.<br>
Class "vtkClipPolyData" has 12 instances still around.<br>
Class "vtkStandardPolyDataPainter" has 16 instances still around.<br>
Class "vtkVertex" has 23 instances still around.<br>
Class "vtkChooserPainter" has 20 instances still around.<br>
Class "vtkImageData" has 23 instances still around.<br>
Class "vtkOpenGLFreeTypeTextMapper" has 87 instances still around.<br>
Class "vtkFloatArray" has 34 instances still around.<br>
Class "vtkInformationStringValue" has 101 instances still around.<br>
Class "vtkInformationExecutivePortVectorValue" has 70 instances still around.<br>
Class "vtkContourValues" has 16 instances still around.<br>
Class "vtkTransform" has 40 instances still around.<br>
Class "vtkIdTypeArray" has 35 instances still around.<br>
Class "vtkVoxel" has 23 instances still around.<br>
Class "vtkOpenGLClipPlanesPainter" has 20 instances still around.<br>
Class "vtkFieldData" has 123 instances still around.<br>
Class "vvImageMapToWLColors" has 12 instances still around.<br>
Class "vtkImageClip" has 16 instances still around.<br>
Class "vtkOpenGLProperty" has 20 instances still around.<br>
Class "vtkInformationDoubleVectorValue" has 67 instances still around.<br>
Class "vtkUnsignedCharArray" has 33 instances still around.<br>
Class "vtkLinesPainter" has 4 instances still around.<br>
Class "vtkStreamingDemandDrivenPipeline" has 122 instances still around.<br>
Class "vtkMergePoints" has 4 instances still around.<br>
Class "vtkOpenGLRepresentationPainter" has 20 instances still around.<br>
Class "vtkTimerLog" has 351 instances still around.<br>
Class "vtkCommand or subclass" has 484 instances still around.<br>
Class "vtkInformationExecutivePortValue" has 102 instances still around.<br>
<br>
_______________________________________________<br>
vv mailing list<br>
<a href="mailto:vv@creatis.insa-lyon.fr" target="_blank">vv@creatis.insa-lyon.fr</a><br>
<a href="http://www.creatis.insa-lyon.fr/mailman/listinfo/vv" target="_blank">http://www.creatis.insa-lyon.fr/mailman/listinfo/vv</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>David Sarrut, Phd<br>Chargé de recherche CNRS<br>Centre de lutte contre le cancer Léon Bérard<br>28 rue Laënnec, 69373 Lyon cedex 08<br>Laboratoire CREATIS-LRMN UMR CNRS 5220, Inserm U 630<br>
Tel : 04 78 78 51 51 / 06 74 72 05 42<br><a href="http://www.creatis.insa-lyon.fr/rio">http://www.creatis.insa-lyon.fr/rio</a><br>_________________________________<br> "2 + 2 = 5, for extremely large values of 2"<br>
_________________________________<br>