We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ada020 commit be4ac34Copy full SHA for be4ac34
.github/workflows/codeql-analysis.yml
@@ -57,6 +57,8 @@ jobs:
57
with:
58
languages: ${{ matrix.language }}
59
threads: 4
60
+ init-heap: 1024M # Initial heap size
61
+ max-heap: 4096M # Maximum heap size
62
#ram: 8384
63
64
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -81,7 +83,7 @@ jobs:
81
83
- name: Grant execute permission for gradlew
82
84
run: chmod +x gradlew
85
- name: Build with Gradle
- run: gradle clean build "-Dorg.gradle.jvmargs=-Xmx8g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8"
86
+ run: gradle clean build "-Dorg.gradle.jvmargs=-Xmx4g -Xms1g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8"
87
88
- name: Perform CodeQL Analysis
89
uses: github/codeql-action/analyze@v2
0 commit comments