View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003164 | Slicer4 | Core: MRML | public | 2013-06-13 08:01 | 2013-07-17 11:51 |
| Reporter | luis | Assigned To | nicole | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Product Version | Slicer 4.2.0 | ||||
| Target Version | Slicer 4.3.0 | Fixed in Version | Slicer 4.3.0 | ||
| Summary | 0003164: Adding fiducial nodes via python creates memory leaks | ||||
| Description | On the nightly version of Slicer, you can reproduce this bug by opening the python interactive console and entering:
Upon exiting, a whole bunch of VTK memory leaks will be reported: vtkDebugLeaks has detected LEAKS! | ||||
| Tags | No tags attached. | ||||
|
Use the Initialize method instead of AddNode to avoid memory leaks: |
|
|
Thanks Nicole, that fixed the memory leak! Is there a reason why the interface for safely adding annotation nodes to the scene is so different from adding any other type of node? |
|
|
Original design decisions made before I took over maintenance of the module. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2013-06-13 08:01 | luis | New Issue | |
| 2013-06-13 08:01 | luis | Status | new => assigned |
| 2013-06-13 08:01 | luis | Assigned To | => alexy |
| 2013-06-13 09:57 | nicole | Note Added: 0008762 | |
| 2013-06-13 09:57 | nicole | Status | assigned => resolved |
| 2013-06-13 09:57 | nicole | Resolution | open => no change required |
| 2013-06-13 09:57 | nicole | Status | resolved => assigned |
| 2013-06-13 09:57 | nicole | Assigned To | alexy => nicole |
| 2013-06-13 09:58 | nicole | Status | assigned => resolved |
| 2013-06-13 10:16 | luis | Note Added: 0008763 | |
| 2013-06-13 20:25 | jcfr | Target Version | => Slicer 4.3.0 |
| 2013-07-17 11:50 | nicole | Relationship added | related to 0003138 |
| 2013-07-17 11:51 | nicole | Note Added: 0009109 | |
| 2013-07-17 11:51 | nicole | Status | resolved => closed |
| 2013-07-17 11:51 | nicole | Fixed in Version | => Slicer 4.3.0 |