Skip to content

Commit 5412394

Browse files
build: Fix Out of space in CodeCache error (#3034)
Fixing the same problem as apache/lucene#14090 This increases the reservedCodeCacheSize from the default to 256m.
1 parent a86d21c commit 5412394

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gradle/template.gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ systemProp.file.encoding=UTF-8
7373
# Set up gradle JVM defaults.
7474
#
7575
# We also open up internal compiler modules for spotless/ google java format.
76-
org.gradle.jvmargs=-Xmx1g -XX:TieredStopAtLevel=1 -XX:+UseParallelGC -XX:ActiveProcessorCount=1 \
76+
org.gradle.jvmargs=-Xmx1g -XX:ReservedCodeCacheSize=256m -XX:TieredStopAtLevel=1 -XX:+UseParallelGC -XX:ActiveProcessorCount=1 \
7777
--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \
7878
--add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \
7979
--add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED \

0 commit comments

Comments
 (0)