[Paraview] Delete data and free memory with the python shell

Bertrand Gazanion b.gazanion at gantha.com
Wed Jun 3 06:15:21 EDT 2015


Dear all,

 

I have problems understanding how to delete data from paraview using the
python shell.

 

The method I am using is the following :

 

#-- delete everything but the sources

for f in GetSources().values():

                print f

                if f.GetProperty("Input") is not None:

                               Delete(f)

 

#-- delete the sources

for f in GetSources().values():

                print f

                Delete(f)

 

Using this method, the pipeline browser is correctly emptied. However, the
memory monitors of ParaView and of the OS show that the amount of RAM used
by ParaView has not changed. 

Could you explain me what I'm missing ?

 

Thanks,

Bertrand



---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150603/45dde70e/attachment.html>


More information about the ParaView mailing list