View Issue Details

IDProjectCategoryView StatusLast Update
0000438Slicer3Base Codepublic2009-02-19 11:37
Reporterfedorov Assigned Topieper  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0000438: Volumes module leaks memory
Description

As of r8701, startup and shutdown of Slicer with only Volumes module selected in the Application Settings -> Modules results in memory leaks:

Class "vtkKWIcon" has 4 instances still around.
Class "vtkSlicerTheme" has 1 instance still around.
Class "vtkKWOptionDataBase" has 2 instances still around.
Class "vtkKWUNIXRegistryHelper" has 1 instance still around.
Class "vtkSlicerGUILayout" has 1 instance still around.
Class "vtkSlicerApplication" has 1 instance still around.
Class "vtkKWCheckButton" has 1 instance still around.
Class "vtkSlicerCheckRadioButtonIcons" has 1 instance still around.
Class "vtkSlicerGUICollection" has 1 instance still around.
Class "vtkStringArray" has 2 instances still around.
Class "vtkSlicerFont" has 1 instance still around.
Class "vtkSlicerColor" has 1 instance still around.
Class "vtkCommand or subclass" has 2 instances still around.

TagsNo tags attached.

Activities

pieper

pieper

2009-02-19 11:36

administrator   ~0000645

Interesting - it's probably the vtkKWCheckButton (that directly or indirectly references the rest). Probably something recently added where the developer forgot to put in a Delete.

<checking...>

Yes, sure enough, here it is:

http://viewvc.slicer.org/viewcvs.cgi/trunk/Modules/Volumes/vtkKWWindowLevelThresholdEditor.cxx?rev=8590&amp;r1=8479&amp;r2=8590

And here's the fix...

http://viewvc.slicer.org/viewcvs.cgi/trunk/Modules/Volumes/vtkKWWindowLevelThresholdEditor.cxx?rev=8707&amp;view=diff&amp;r1=8707&amp;r2=8706&amp;p1=trunk/Modules/Volumes/vtkKWWindowLevelThresholdEditor.cxx&amp;p2=/trunk/Modules/Volumes/vtkKWWindowLevelThresholdEditor.cxx

Issue History

Date Modified Username Field Change
2009-02-19 04:48 fedorov New Issue
2009-02-19 11:36 pieper Note Added: 0000645
2009-02-19 11:37 pieper Assigned To => pieper
2009-02-19 11:37 pieper Status new => closed
2009-02-19 11:37 pieper Resolution open => fixed