Skip to content
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

Added failing tests for #151 #220

Merged
merged 3 commits into from
Oct 13, 2021

Conversation

TomAugspurger
Copy link
Contributor

@TomAugspurger TomAugspurger commented Oct 4, 2021

This adds a tests for the memory issues from #151. It should fail on master with a TimeoutError after 90s.

After confirming that it fails I'll push a (temporary) commit with one of the proposed fixes to ensure that it passes.

Tom Augspurger added 2 commits October 4, 2021 14:47
Temporary commit to see if the memory issue is fixed.
@TomAugspurger
Copy link
Contributor Author

There's the timeout error: https://github.com/pangeo-forge/pangeo-forge-recipes/pull/220/checks?check_run_id=3795717468#step:8:821

In theory, it should be fixed with 0f9ce09.

Then we'll decide how to reconcile this PR and the larger changes in #219 (this will create a merge conflict, so isn't worth merging if #219 will fix it anyway).

@TomAugspurger
Copy link
Contributor Author

So it turns out that my "fix" is faulty. Dask doesn't replace functions in tasks, just arguments, so putting the functions in the task graph once doesn't work.

I don't think that #219 suffers from the same problem, since the large objects will be in the context as an argument, rather than the function.

@rabernat rabernat merged commit a6526e0 into pangeo-forge:master Oct 13, 2021
@rabernat rabernat mentioned this pull request Oct 13, 2021
@TomAugspurger TomAugspurger deleted the fix/memory-test branch October 13, 2021 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants