I would like to ask which is the correct method to release memory allocated by a volumeMapper.
I have a genericRenderWindow with just an actor (vtkVolume) and its mapper (vtkVolumeMapper). When I build the scene I see the memory growth, but when I destroy the context (actor.delete() and renderWindow.delete() ), the memory does not decrease.
Any hint that can put me in the right direction?
Thanks in advance,
Did you try calling
mapper.delete() ? Also in general you don’t know when the gc will actually run. I’m not sure that’s the case here or not.
Hi Sebastien and thanks for your suggestion, I had missed that!
Sorry for late answer too