You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "ajantha-bhat (via GitHub)" <gi...@apache.org> on 2023/03/10 14:00:42 UTC

[GitHub] [iceberg] ajantha-bhat commented on a diff in pull request #7045: Build: Increase gradle heap size for java-ci task

ajantha-bhat commented on code in PR #7045:
URL: https://github.com/apache/iceberg/pull/7045#discussion_r1132416434


##########
.github/workflows/java-ci.yml:
##########
@@ -87,6 +87,11 @@ jobs:
       with:
         distribution: zulu
         java-version: 8
+    # Setup Gradle properties, heap requirements are for `:iceberg-spark:iceberg-spark-3.3_2.12:checkstyleMain`.
+    - name: Setup gradle.properties
+      run: |
+        mkdir -p ~/.gradle
+        echo "org.gradle.jvmargs=-Xmx2048m" >> ~/.gradle/gradle.properties

Review Comment:
   I didn't want to increase it for all the tasks. Hence added it here. I am open to others' opinions too. 



-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org