-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(beamform): delete some class list attributes in 'process_finish'. #242
Conversation
Oh great, did this work in the end? |
It helps, but the root of the issue was with the pipeline run order. It calls setup on both |
If this is a common performance issue, would it make sense to purge all attributes in |
I don't see any issues with doing that off the top of my head, other than keeping the attribute that handles pipeline state |
Purging all attributes is a little risky as you don't know if the user might want access to them later (for instance for people running the pipeline in a notebook for testing). I think for the moment doing what you are doing here is good. I think a more general fix needs to go into |
does |
Yup |
I've been playing with the run order a bit, and I do think we could at least remove finished tasks after they finish without too much of a change, but if we're going to be making changes like that I'd rather look at modifying the pipeline runner as a whole |
Assume this means its good to merge? |
These lists can hold fairly large chunks of data which will not get cleared from memory otherwise.
These lists can hold fairly large chunks of data which will not get cleared from memory until one pipeline iteration after
.finish
is called, which often happens out of order