[yt-users] Memory leaks and volume rendering

Sam Skillman samskillman at gmail.com
Sat Jan 28 23:13:48 PST 2012


Hi John,

Additionally, adding 'del cam, image' at the end of each loop should help
considerably.  The camera object contains the homogenized volume roughly
equal to the size of the entire dataset for one field, so I'm guessing that
is where most of it is coming from.

Let us know if that doesn't help.

Sam

On Sat, Jan 28, 2012 at 7:31 PM, Nathan Goldbaum <goldbaum at ucolick.org>wrote:

> Hi John,
>
> I've found that calling the garbage collector via gc.collect() at the end
> of a loop over filenames fixes issues like this.  Probably worth a try,
> anyway.
>
> -Nathan
>
> On Jan 28, 2012, at 8:52 AM, John ZuHone wrote:
>
> > Hi all,
> >
> > I'm volume rendering a ~1 GB dataset on an 8 CPU machine with 32 GB of
> RAM. I keep using up the memory on the machine with the following script,
> which creates a time series object and runs through the pfs to create each
> image. Is there other memory I should be freeing up at each iteration in
> the loop?
> >
> > http://paste.yt-project.org/show/2137/
> >
> > Best,
> >
> > John
> > _______________________________________________
> > yt-users mailing list
> > yt-users at lists.spacepope.org
> > http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> >
> > !DSPAM:10175,4f24aeed3642254826273!
> >
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20120129/3e16016f/attachment.html>


More information about the yt-users mailing list