malliaridis commented on PR #2605:
URL: https://github.com/apache/solr/pull/2605#issuecomment-2277941657

   @gerlowskija and @epugh the build errors you have probably occur because of 
the jvmargs in `gradpe.properties` that need to be updated. I added 
`-Dkotlin.daemon.jvm.options\="-Xmx2048M" ` to `org.gradle.jvmargs`. If I 
remember correct, I had similar issues without it.
   
   ```properties
   org.gradle.jvmargs=-Xmx2g -XX:TieredStopAtLevel=1 -Dfile.encoding=UTF-8 
-Dkotlin.daemon.jvm.options\="-Xmx2048M" -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 \
    --add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
    --add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
   ```
   
   Additionally, I added `kotlin.code.style=official` for the code styling in 
the gradle.properties.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to