2
0
Эх сурвалжийг харах

Change the GRADLE_OPTS to alleviate out of memory errors when compiling.

Miku AuahDark 1 жил өмнө
parent
commit
c73f7fec23

+ 1 - 1
.github/workflows/main.yml

@@ -9,7 +9,7 @@ jobs:
       matrix:
         build_type: [Debug, Release]
     env:
-      JAVA_OPTS: '-Xmx10G'
+      GRADLE_OPTS: "-Dorg.gradle.jvmargs='-Xmx4G'"
     steps:
     - name: Prepare Environment
       run: sudo apt-get update && curl -Lo kitware-archive.sh https://apt.kitware.com/kitware-archive.sh && sudo bash ./kitware-archive.sh