<div dir="ltr">It looks like it's in benchmark.py:<br><br>def get_memuse() :<br> session = servermanager.ProxyManager().GetSessionProxyManager().GetSession()<br><br> retval = []<br> infos = servermanager.vtkPVMemoryUseInformation()<br> session.GatherInformation(session.CLIENT, infos, 0)<br> procUse = str(infos.GetProcMemoryUse(0))<br> hostUse = str(infos.GetHostMemoryUse(0))<br> retval.append("CLIENT " + procUse + " / " + hostUse)<br><br> infos = servermanager.vtkPVMemoryUseInformation()<br> session.GatherInformation(session.DATA_SERVER, infos, 0)<br> for i in range(0,infos.GetSize()):<br> rank = str(infos.GetRank(i))<br> procUse = str(infos.GetProcMemoryUse(i))<br> hostUse = str(infos.GetHostMemoryUse(i))<br> retval.append("DS[" + rank + "] " + procUse + " / " + hostUse)<br> return retval<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 13, 2015 at 11:58 AM, Andy Bauer <span dir="ltr"><<a href="mailto:andy.bauer@kitware.com" target="_blank">andy.bauer@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi,<br><br></div>It looks like vtkPVMemoryUseInformation is the main class that's used for the Memory Inspector. Has anyone tried using this through ParaView's Python API? It looks like it's getting wrapped but when I try to use it it causes a crash.<br><br></div>Thanks,<br></div>Andy<br></div>
</blockquote></div><br></div>