-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[fix][ci] Increase thread stack size to 1500k for Maven JVM to prevent StackOverflowError in compilation #18602
[fix][ci] Increase thread stack size to 1500k for Maven JVM to prevent StackOverflowError in compilation #18602
Conversation
…t StackOverflowError in compilation - For some reason compilation can fail with StackOverflowError with the default settings - increase thread stack size to 1500k (with -Xss1500k) Example: Error: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project pulsar-broker-common: Fatal error compiling: java.lang.StackOverflowError -> [Help 1]
It looks like the problem reproduced in https://github.com/apache/pulsar/actions/runs/3539671520/jobs/5942046881#step:10:3748 |
Log from the failed build
|
Attempting to fix the issue first by upgrading Lombok in #18604 |
the issue in Pulsar might match projectlombok/lombok#1118 |
It looks like the only mitigation for the Lombok issue is to increase stack size. |
/pulsarbot rerun-failure-checks |
Codecov Report
@@ Coverage Diff @@
## master #18602 +/- ##
============================================
+ Coverage 47.72% 48.51% +0.79%
- Complexity 9330 9476 +146
============================================
Files 618 618
Lines 58568 58609 +41
Branches 6093 6097 +4
============================================
+ Hits 27951 28436 +485
+ Misses 27589 27134 -455
- Partials 3028 3039 +11
Flags with carried forward coverage won't be shown. Click here to find out more.
|
…t StackOverflowError in compilation (apache#18602)
…t StackOverflowError in compilation (apache#18602)
Motivation
Example failure:
I've created this PR as a draft so that we can use this if we end up needing to address this issue and it reproduces again.
Modifications
-Xss1500k
toMAVEN_OPTS
Documentation
doc
doc-required
doc-not-needed
doc-complete
Matching PR in forked repository
PR in forked repository: lhotari#104