# vtkRenderWindow memory leak

**URL:** <https://discourse.vtk.org/t/vtkrenderwindow-memory-leak/10612>\
**Category:** Support\
**Tags:** python\
**Created:** [February 3, 2023, 8:44pm UTC](https://discourse.vtk.org/t/vtkrenderwindow-memory-leak/10612 "2023-02-03T20:44:51Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![afa](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/a/e9bcb4/32.png) [@afa](https://discourse.vtk.org/u/afa)\
**Post date:** [February 15, 2023, 2:21pm UTC](https://discourse.vtk.org/t/vtkrenderwindow-memory-leak/10612/5 "2023-02-15T14:21:10Z")

</div>

This user is also testing memory leaks, in C++ code: [Memory leak occurs if I use vtkSmartPointer in sub-thread. - #2 by sohnishi](https://discourse.vtk.org/t/memory-leak-occurs-if-i-use-vtksmartpointer-in-sub-thread/10631/2)  
You could take inspiration from his code + VTK examples + VTK\_DEBUG\_LEAKS

---

_[View the full topic](https://discourse.vtk.org/t/vtkrenderwindow-memory-leak/10612)._
