-
Notifications
You must be signed in to change notification settings - Fork 710
memory-usage-tests fail with GHC 9.2 #8029
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
It seems that heap is artificially restricted to 8MB in the run from the log you provide so, yes, running out of heap would be the signal of test failure. |
Yeah. Would be nice if
|
I've found this:
|
Ah great, thanks! Update the issue to include that info. |
By comparison, with GHC 8.10.7 I see:
With GHC 9.2.1:
|
Judging by this, I'd say there's a modest increase of memory usage with 9.2, but it doesn't appear that things scale worse. I.e., the things the tests test against (exponential space usage) are still fine, and we can raise the limit a bit. (Also ideally we'd be running the test cases independently, but that seems too complicated to be worth it.) |
Good call. Let's stick 16MB globally in the cabal file? |
There appears to be a small regression in heap usage with GHC 9.2.1. This raises the limit to accommodate that, and give a bit of a buffer. Compare analysis at haskell#8029.
There appears to be a small regression in heap usage with GHC 9.2.1. This raises the limit to accommodate that, and give a bit of a buffer. Compare analysis at haskell#8029.
There appears to be a small regression in heap usage with GHC 9.2.1. This raises the limit to accommodate that, and give a bit of a buffer. Compare analysis at haskell#8029.
With GHC 9.2, CI runs of the memory-usage-tests suite fail by exhausting the heap:
Example: https://github.com/haskell/cabal/runs/5411331428?check_suite_focus=true
(master CI runs don't get to the
cli-tests
; that log is from #8022 which skips failing tests in lib-suite)The test suite deliberately runs with a heap limited to 8MB:
Running locally on macOS with GHC 9.2.1:
The text was updated successfully, but these errors were encountered: