MantisBT - VTK | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0013409 | VTK | (No Category) | public | 2012-08-29 19:34 | 2012-09-06 19:00 |
Reporter | David Gobbi | ||||
Assigned To | David Gobbi | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | 5.10.0 | ||||
Target Version | Fixed in Version | ||||
Project | TBD | ||||
Type | performance | ||||
Summary | 0013409: Python memory leak for observers | ||||
Description | The PyVTKObject does not check for reference cycles in its observers, even for things as simple as an observer that is a method of the object itself. The place for the checks to be performed is PyVTKObject_Traverse, which can check each observer to see if it is a vtkPythonCommand, and if so, traverse its "obj" member which is a python object. This will allow simple reference cycles to be broken. More complex reference cycles would require a special vtkPythonGarbageCollector class that could use VTK's ReportReferences function to traverse VTK's reference tree, looking for python objects. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-08-29 19:34 | David Gobbi | New Issue | |||
2012-08-29 19:34 | David Gobbi | Status | backlog => tabled | ||
2012-08-29 19:34 | David Gobbi | Assigned To | => David Gobbi | ||
2012-09-06 19:00 | David Gobbi | Note Added: 0029139 | |||
2012-09-06 19:00 | David Gobbi | Status | tabled => closed | ||
2012-09-06 19:00 | David Gobbi | Resolution | open => fixed |
Notes | |||||
|
|||||
|
|