trace recorder and Reset Session

I have a user that is trying to process numerous datasets in a loop in Python. He wants to Reset Session at the bottom of every loop, before reading another dataset in. The trace for Reset Session isn’t being recorded. What is the Python to do this?


I think paraview.simple.Delete() should work. However, I didn’t see the memory consumption go down in version 5.2.0.



This sequence should work if you are using the built-in server:



I believe my user is using pvbatch, in parallel. Would that work?

Well… no, it will disconnect the remote server.

I’m working on a fix for Should have something today. There isn’t a code snippet that you can easily use for now, I’m afraid.

The fix in the merge request cited above has been merged and will be available in ParaView 5.6 this fall.