mirror of https://github.com/apache/lucene.git
Lower gradle heap: 3GB is unnecessary (#11936)
This commit is contained in:
parent
2f21a866c1
commit
99aa6dd0eb
|
@ -65,10 +65,9 @@ configure(rootProject) {
|
|||
systemProp.file.encoding=UTF-8
|
||||
|
||||
# Set up gradle JVM defaults.
|
||||
# The heap seems huge but gradle runs out of memory on lower values (don't know why).
|
||||
#
|
||||
# We also open up internal compiler modules for spotless/ google java format.
|
||||
org.gradle.jvmargs=-Xmx3g -XX:TieredStopAtLevel=1 -XX:+UseParallelGC -XX:ActiveProcessorCount=1 \\
|
||||
org.gradle.jvmargs=-Xmx1g -XX:TieredStopAtLevel=1 -XX:+UseParallelGC -XX:ActiveProcessorCount=1 \\
|
||||
--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \\
|
||||
--add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \\
|
||||
--add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED \\
|
||||
|
|
Loading…
Reference in New Issue