> > How do properly clean up the pipeline and free all the memory involved? > If the above suggestion doesn't fix the problem, I would need a > minimalistic example that reproduces the problem, as chances are that you > are simply leaving some references lying around to your objects.
Strange. I got the memory leak problem back after adding (phi3as=mlab.pipeline.scalar_field(...) and ds=phi3as.mlab_source.dataset; these existed before, too): ds.point_data.vectors=blah to the pipeline. I can delete ~everything in the interpreter, so that >>> dir() ['__builtins__', '__doc__', '__name__', 'gc'] and still after gc.collect(), a gigabyte of memory is consumed! So I think I do not have references lying around, but the memory is still lost. Does this mean VTK or mayavi malloc()s stuff and never free()s it? Valgrind? Cheers, Juha ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ MayaVi-users mailing list MayaVi-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mayavi-users