[Paraview] pvbatch: Python Loop-memory leak

Paul Edwards paul.m.edwards at gmail.com
Tue Jan 24 14:23:43 EST 2012


This sounds like the mesa issue I was having. Does it work if you add this
to the start pdf your script?

# turn off display lists
g = servermanager.misc.GlobalMapperProperties()
g.GlobalImmediateModeRendering = 1

Regards,
Paul
 On 24 Jan 2012 19:07, "Houskamp, Joshua R CTR (US)" <
joshua.r.houskamp.ctr at mail.mil> wrote:

>  I am attempting to setup a pvbatch process for a large number of exodus
> files using WriteAnimation for images. However, I appear to have a memory
> leak and the number of images continues to grow. I've been trying to delete
> all the variables to find an offending variable that is carrying over time
> steps from the previous loop, however with 15-20 operations it is tedious
> and I still seem to be missing the offending variable.
>
> Is there a "Delete All" type of functionality in pvbatch? Or some other
> fashion for a bulk reset on variables?
>
> The meta-code
> All inside a python loop for mulitple exodus files:
> Open File
> --Do a bunch of clips
> --Transform
> --Reflect
> --Do a calulation
> --Color Clips
> --Label Image
> --WriteAnimation()
>
> Thanks,
> Josh Houskamp
>
> Joshua R. Houskamp, PhD
> Research Scientist
> Bowhead Science and Technology
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120124/e5f5c0cf/attachment.htm>


More information about the ParaView mailing list