This is an automated email from the ASF dual-hosted git repository.

houston pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/branch_9x by this push:
     new ea497ad0202 build: Fix Out of space in CodeCache error (#3034)
ea497ad0202 is described below

commit ea497ad02025bac48dade2567c0c08a6005655e2
Author: Houston Putman <[email protected]>
AuthorDate: Fri Jan 17 10:19:06 2025 -0600

    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.
    
    (cherry picked from commit 54123941b11a941fb3bef314a25dd38b95619126)
---
 gradle/template.gradle.properties | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gradle/template.gradle.properties 
b/gradle/template.gradle.properties
index c52e3048a77..2cc1ff6f7cf 100644
--- a/gradle/template.gradle.properties
+++ b/gradle/template.gradle.properties
@@ -68,7 +68,7 @@ systemProp.file.encoding=UTF-8
 # Set up gradle JVM defaults.
 #
 # We also open up internal compiler modules for spotless/ google java format.
-org.gradle.jvmargs=-Xmx1g -XX:TieredStopAtLevel=1 -XX:+UseParallelGC 
-XX:ActiveProcessorCount=1 \
+org.gradle.jvmargs=-Xmx1g -XX:ReservedCodeCacheSize=256m 
-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 \

Reply via email to