[Vv] leaks

Arnaud GELAS arnaud_gelas at hms.harvard.edu
Wed Jun 16 15:45:02 CEST 2010


Hi Joel,

I understand your position and I won't argue on that point!
I was wondering if you knew about it, and what was the vv development 
team position on the problem of memory leaks.

Arnaud

On 06/16/2010 07:54 AM, Joël Schaerer wrote:
> Hi Arnaud,
>
> I'd argue most of these are not "leaks", but simply objects that aren't
> freed before the program finishes (but are still in use until the end).
> In my mind a real leak is memory that is lost each time a user closes an
> image for example.
> Another point is that most of these objects are very very light (a few
> kB at most), so it isn't really a problem.
>
> I don't doubt that we have a couple more serious memory leaks (the core
> code for vv was written by a rather unexperienced developer :)), but
> sorting through the output of vtkDebugLeaks or valgrind is too much work
> for a limited benefit.
>
> joel
>
> On 06/15/2010 09:47 PM, Arnaud GELAS wrote:
>    
>> Hi,
>>
>> I have just ran vv, opened one image and I get the following leaks.
>>
>> Arnaud
>>
>> vtkDebugLeaks has detected LEAKS!
>> Class "vtkCornerAnnotation" has 12 instances still around.
>> Class "vtkOpenGLScalarsToColorsPainter" has 20 instances still around.
>> Class "vtkCellData" has 123 instances still around.
>> Class "vtkCompositePainter" has 20 instances still around.
>> Class "vtkOpenGLImageActor" has 12 instances still around.
>> Class "vtkCursor2D" has 12 instances still around.
>> Class "vtkInformationIntegerVectorValue" has 50 instances still around.
>> Class "vtkCursor3D" has 12 instances still around.
>> Class "vtkPointsPainter" has 4 instances still around.
>> Class "vtkInformationVector" has 734 instances still around.
>> Class "vtkPointData" has 123 instances still around.
>> Class "vtkProperty2D" has 21 instances still around.
>> Class "vtkOpenGLDisplayListPainter" has 20 instances still around.
>> Class "vtkPolygonsPainter" has 4 instances still around.
>> Class "vtkTrivialProducer" has 14 instances still around.
>> Class "vtkMatrix4x4" has 80 instances still around.
>> Class "vtkCoordinate" has 144 instances still around.
>> Class "vtkBox" has 12 instances still around.
>> Class "vtkPoints" has 218 instances still around.
>> Class "vtkInformation" has 1237 instances still around.
>> Class "vtkLine" has 92 instances still around.
>> Class "vtkInformationStringVectorValue" has 60 instances still around.
>> Class "vtkMultiThreader" has 12 instances still around.
>> Class "vtkMarchingSquares" has 16 instances still around.
>> Class "vtkInformationIntegerPointerValue" has 23 instances still around.
>> Class "vtkOpenGLCoincidentTopologyResolutionPainter" has 20 instances
>> still around.
>> Class "vtkOpenGLLightingPainter" has 20 instances still around.
>> Class "vtkPixel" has 46 instances still around.
>> Class "vtkPolyData" has 100 instances still around.
>> Class "vtkLookupTable" has 13 instances still around.
>> Class "vtkGlyph3D" has 12 instances still around.
>> Class "vtkActor2D" has 60 instances still around.
>> Class "vtkPainterPolyDataMapper" has 20 instances still around.
>> Class "vtkHardwareSelectionPolyDataPainter" has 20 instances still
>> around.
>> Class "vtkOpenGLActor" has 28 instances still around.
>> Class "vtkIdList" has 184 instances still around.
>> Class "vtkTStripsPainter" has 4 instances still around.
>> Class "vtkDoubleArray" has 200 instances still around.
>> Class "vtkInformationDoubleValue" has 13 instances still around.
>> Class "vtkAlgorithmOutput" has 87 instances still around.
>> Class "vtkDefaultPainter" has 20 instances still around.
>> Class "vtkInformationIntegerValue" has 2505 instances still around.
>> Class "vtkOpenGLPolyDataMapper2D" has 12 instances still around.
>> Class "vtkTextProperty" has 99 instances still around.
>> Class "vtkExtentTranslator" has 3 instances still around.
>> Class "vtkCellArray" has 35 instances still around.
>> Class "vtkClipPolyData" has 12 instances still around.
>> Class "vtkStandardPolyDataPainter" has 16 instances still around.
>> Class "vtkVertex" has 23 instances still around.
>> Class "vtkChooserPainter" has 20 instances still around.
>> Class "vtkImageData" has 23 instances still around.
>> Class "vtkOpenGLFreeTypeTextMapper" has 87 instances still around.
>> Class "vtkFloatArray" has 34 instances still around.
>> Class "vtkInformationStringValue" has 101 instances still around.
>> Class "vtkInformationExecutivePortVectorValue" has 70 instances still
>> around.
>> Class "vtkContourValues" has 16 instances still around.
>> Class "vtkTransform" has 40 instances still around.
>> Class "vtkIdTypeArray" has 35 instances still around.
>> Class "vtkVoxel" has 23 instances still around.
>> Class "vtkOpenGLClipPlanesPainter" has 20 instances still around.
>> Class "vtkFieldData" has 123 instances still around.
>> Class "vvImageMapToWLColors" has 12 instances still around.
>> Class "vtkImageClip" has 16 instances still around.
>> Class "vtkOpenGLProperty" has 20 instances still around.
>> Class "vtkInformationDoubleVectorValue" has 67 instances still around.
>> Class "vtkUnsignedCharArray" has 33 instances still around.
>> Class "vtkLinesPainter" has 4 instances still around.
>> Class "vtkStreamingDemandDrivenPipeline" has 122 instances still around.
>> Class "vtkMergePoints" has 4 instances still around.
>> Class "vtkOpenGLRepresentationPainter" has 20 instances still around.
>> Class "vtkTimerLog" has 351 instances still around.
>> Class "vtkCommand or subclass" has 484 instances still around.
>> Class "vtkInformationExecutivePortValue" has 102 instances still around.
>>
>> _______________________________________________
>> vv mailing list
>> vv at creatis.insa-lyon.fr
>> http://www.creatis.insa-lyon.fr/mailman/listinfo/vv
>>      
>
>    




More information about the vv mailing list