-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
[MNT]: macos-latest memory leak over threshold #22959
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
Comments
Threshold can be raised by 1000000 (double 457856) to account for fluctuation. |
@oscargus I think my original solution (#22961) didn't cover the whole problem. The original examples of this test failing was specifically with macosx and the threshold was less than 1000000 off. The test that is failing: matplotlib/lib/matplotlib/tests/test_backends_interactive.py Lines 543 to 556 in 2e70254
Here is an example of this tests still failing: https://github.com/matplotlib/matplotlib/runs/6246645151?check_suite_focus=true Should I make this adjustment? |
Talked about in dev call: https://hackmd.io/jd_7FjxNQ4y7XgNknvmvGQ#memory-issue |
Looking at this in detail, I was wrong about how the tests are run. They are in their own process so the inter-test interaction should not be a problem. It seems there is just a lot of variation, but we do not know why. I think that in addition to the OSX backend on osx, we also need to increase the threshold when running with tkagg on osx. I'm going to open a PR with that stage and also write up an issue starting the discussion about how we may need to find a more stable way to benchmark these memory issues. |
Extension of matplotlib#22959.
Extension of matplotlib#22959.
Extension of matplotlib#22959.
Summary
macos-latest
test is failing. Memory leakage is slightly over the threshold.Failing test:
lib/matplotlib/tests/test_backends_interactive.py:559: AssertionError
Exact assertion error:
assert growth <= acceptable_memory_leakage
assert 30457856 <= 30000000
Example of test failing: macos-latest failing
Proposed fix
Raise threshold.
The text was updated successfully, but these errors were encountered: