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

CI is crashing with memory issues #2478

Closed
TimvdLippe opened this issue Nov 19, 2021 · 3 comments
Closed

CI is crashing with memory issues #2478

TimvdLippe opened this issue Nov 19, 2021 · 3 comments

Comments

@TimvdLippe
Copy link
Contributor

On a bunch of recent PRs, the following error is thrown in the GitHub actions:

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Test worker"

Examples: https://github.com/mockito/mockito/runs/4264231004?check_suite_focus=true and https://github.com/mockito/mockito/runs/4264151319?check_suite_focus=true

It is unclear what has changed, as we weren't running into this issue before. Additionally, my build completes just fine locally.

Can a recent change to GitHub Actions maybe have lowered the amount of memory we can use?

@TimvdLippe
Copy link
Contributor Author

I inspected a Gradle build scan and it appears that it is crashing on large_stack_trace_invocations_should_not_starve_memory. That is not unsurprising, but we should still investigate as to why that is happening. I am going to disable that test and see if CI is green.

TimvdLippe added a commit that referenced this issue Nov 19, 2021
Suspected culprit of #2478
based on a Gradle build scan.
TimvdLippe added a commit that referenced this issue Nov 19, 2021
Suspected culprit of #2478
based on a Gradle build scan.
@TimvdLippe
Copy link
Contributor Author

Disabling the test appears to have worked. I am rerunning CI on all other PRs to get these in. We should of course look into re-enabling these tests, but it isn't clear to me where to start.

@TimvdLippe
Copy link
Contributor Author

This should be fixed with #2723

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant