<div dir="ltr"><div><div><div><div>Dear All,<br><br></div>I am trying to load multiple state files by running a python script with python shell. The script is the following <br><br>#### import the simple module from the paraview<br>from paraview.simple import *<br><br>for time in range(0,200):<br> renderView1 = GetActiveViewOrCreate('RenderView')<br><br> # destroy renderView1<br> Delete(renderView1)<br> del renderView1<br><br> filename = 'filepath/filename-%s.pvsm' % time<br> servermanager.LoadState(filename)<br> renderView=SetActiveView(GetRenderView())<br> Render()<br> # get layout<br> viewLayout = GetLayout()<br><br> # save screenshot<br> SaveScreenshot('filepath/filename-%s.png' % time, layout=viewLayout, magnification=3, quality=100)<br><br></div>I was monitoring the memory used by machine, after some time steps the memory used by the machine is whole RAM. Can anybody tell me what I am doing wrong here. <br><br></div><div>I appreciate your time and support. <br></div><div><br><br></div>Thanks<br></div>Raj<br><div><div><div><br><br clear="all"><div><div><br>-- <br><div class="gmail_signature">##################################################################<br><div>
Raj Kumar Manna<br>
Complex Fluid & Biological Physics Lab<br>
IIT Madras<br>
<br>
Ph. No. 8144637401<br>
<br>
alternate email: <a href="mailto:rajphysics.mon@gmail.com" target="_blank">raj@physics.iitm.ac.in</a><br>
####################################################################</div></div>
</div></div></div></div></div></div>