MINOR: double -Xss setting from 2m to 4m in build.gradle (#8264)

I have seen an increased incidence in StackOverflowError(s) when compiling scala. This
change doubles the max stack size to 4m.

```
> Task :core:compileScala FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':core:compileScala'.
> java.lang.StackOverflowError (no error message)
```

Reviewers: Andrew Choi <a24choi@edu.uwaterloo.ca>, Ismael Juma <ismael@juma.me.uk>
This commit is contained in:
Lucas Bradstreet 2020-03-17 09:12:40 -07:00 committed by GitHub
parent 673018504f
commit 97156256c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -469,7 +469,7 @@ subprojects {
configure(scalaCompileOptions.forkOptions) {
memoryMaximumSize = '1g'
jvmArgs = ['-Xss2m']
jvmArgs = ['-Xss4m']
}
}