Neither of these seemed to help (for which I am a little surprised), it ran out of memory at the same position as before.
On Jan 29, 2012, at 2:13 AM, Sam Skillman wrote:
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.
On Sat, Jan 28, 2012 at 7:31 PM, Nathan Goldbaum <email@example.com>
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.
yt-users mailing list