Fwd: [yt_analysis/yt] Change time series objects to *not* instantiate pfs by default (pull request #143)
Hi all,
A couple people (Nathan and Britton) have mentioned memory problems
with time series data because the StaticOutput objects sometimes hold
on to hierarchies. I've taken a pass at preventing this from
happening by keeping the static outputs from being instantiated until
requested, and allowing the references to be passed rather than
retained.
Anyway, it works for me and I've checked that the references go to
zero. If somebody else that was having memory issues could take a
gander that'd be great. Here's my sample script; if you run
before&after the numbers it prints out at the end should be
"something" and "0".
http://paste.yt-project.org/show/2302/
-Matt
---------- Forwarded message ----------
From: Matthew Turk
participants (1)
-
Matthew Turk