Kitware / VolView

Kitware VolView: an all-in-one radiological viewer!
https://volview.kitware.com
Apache License 2.0
185 stars 60 forks source link

Memory leak / no garbage collection (?) #178

Open sankhesh opened 2 years ago

sankhesh commented 2 years ago

It seems the app doesn't deallocate memory after deleting datasets. Adding, deleting and re-adding data keeps making the allocated memory number climb up.
In the image below,

image2

floryst commented 2 years ago

I've identified two sources of leaks that retain memory roughly the same size as the deleted dataset: