Hi!

I have a long-running mayavi visualisation, attached to a similarly long-
running simulation: mayavi plots the plots as soon as the simulation generates 
the data (and eventually mayavi will be able to tell the simulation to stop), 
but I have hit a problem: mayavi keeps running out of memory after about a 
dozen figures have been generated.

Now, I would have thought that 

foo=mlab.get_engine().current_scene.scene
mlab.get_engine().remove_scene(foo)

would free the memory used by said scene, but it does not. I assume that there 
is a hidden reference to the data somewhere inside mayavi/mlab which is not 
removed by remove_scene, but it seems hopeless to find it.

How do properly clean up the pipeline and free all the memory involved?

Cheers,
Juha

------------------------------------------------------------------------------
_______________________________________________
MayaVi-users mailing list
MayaVi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to