# How Paraview release memory?

**URL:** https://discourse.paraview.org/t/how-paraview-release-memory/4631
**Category:** Development
**Created:** [June 21, 2020, 11:58am UTC](https://discourse.paraview.org/t/how-paraview-release-memory/4631 "2020-06-21T11:58:57Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![sharon](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/67e7ee/32.png) [@sharon](https://discourse.paraview.org/u/sharon)
#### Post date: [June 21, 2020, 11:58am UTC](https://discourse.paraview.org/t/how-paraview-release-memory/4631/1 "2020-06-21T11:58:57Z")

</div>

Dear Experts,  
I found that when create a sphere source then delete it from pipeline browser, the memory is not release for the vtkPolyData that hold all the mesh data.

It may have some potential reasons for this special design?  
i wonder why not release memory in destructor of sphere source?  
and if this output data also pass to the following filters, then other filter also need release it in destructor?  
Since all instance have its reference count, each “Delete” will be OK?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [June 22, 2020, 8:04am UTC](https://discourse.paraview.org/t/how-paraview-release-memory/4631/2 "2020-06-22T08:04:44Z")

</div>

I just checked, deleting a source free the memory. There is small memory overhead that do not get released but this overhead tends to plateau at acceptable value.
