-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[Bug]: gradle check failing with java heap OutOfMemoryError #3973
Comments
Maybe we can start by splitting the gradle check into 2 and keep dividing and conquering until we find the culprit? |
Another occurrence #4085 |
Related to #4080 |
Seems like the issue is still happening [1], [2], I will follow up shortly [1] https://build.ci.opensearch.org/job/gradle-check/1679/ |
Started to happen again: #4253 (comment) |
Multiple occurences in #4225 |
Another instance: |
@peterzhuamazon could you help me with that please? it seems we do heap dump on OOM but I don't have access to Jenkins workspace to download it. Thank you! |
We post cleanup and delete the agent node after the run. Thanks. |
Thanks @peterzhuamazon , so we run with [1] Line 16 in 0f2ed70
[2] https://docs.oracle.com/javase/7/docs/webnotes/tsg/TSG-VM/html/clopts.html |
@reta will this file appear all the time or just OOM? Thanks. |
Only when OOM happens, thanks |
Huh, it seems like we caught it: the Java OOM was happening inside |
@reta I was not able to even see a OOM dump in the past 3 failures. |
@peterzhuamazon Yeah, so what I did is to enable stack trace, and I caught this [1] (the stack trace is large but you could see the compiler instrumentation there):
[1] https://build.ci.opensearch.org/job/gradle-check/2254/console |
So those are not the fork tasks which generate heap dump on OOM, that's why we have not seen any ... |
So... can we close this? |
Still testing: #4328 |
@dblock @peterzhuamazon thanks guys, I will schedule a few more runs and 🤞 merge it, I don't see OOMs anymore on last fixe #4328 |
Describe the bug
Gradle check fails with java heap out of memory error.
To Reproduce
Gradle check continuously and it fails with java heap error. Possibly a resource leak introduced recently.
Expected behavior
Gradle check should not fail with heap error.
Host/Environment (please complete the following information):
Related
opensearch-project/opensearch-build#2324
The text was updated successfully, but these errors were encountered: