Skip to content

Commit be4ac34

Browse files
Update codeql-analysis.yml
1 parent 5ada020 commit be4ac34

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ jobs:
5757
with:
5858
languages: ${{ matrix.language }}
5959
threads: 4
60+
init-heap: 1024M # Initial heap size
61+
max-heap: 4096M # Maximum heap size
6062
#ram: 8384
6163

6264
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -81,7 +83,7 @@ jobs:
8183
- name: Grant execute permission for gradlew
8284
run: chmod +x gradlew
8385
- name: Build with Gradle
84-
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"
8587

8688
- name: Perform CodeQL Analysis
8789
uses: github/codeql-action/analyze@v2

0 commit comments

Comments
 (0)