Skip to content

Commit 8be25dd

Browse files
committed
serial GC. 1g max heap.
1 parent aa8f6b8 commit 8be25dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
- name: Build GraalVM native executable
5656
run: ./gradlew nativeCompile
5757
env:
58-
GRADLE_OPTS: "-XX:+UseG1GC -Xmx1g -Xms1g"
58+
GRADLE_OPTS: "-XX:+UseSerialGC -Xmx2g -Xms2g"
5959

6060
- uses: docker/login-action@v3
6161
with:

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ graalvmNative {
4242
}
4343
resources.autodetect()
4444
buildArgs(
45-
"-R:MaxHeapSize=100m",
45+
"-R:MaxHeapSize=1g",
4646
)
4747
}
4848
}

0 commit comments

Comments
 (0)