Skip to content

Commit e9d6b95

Browse files
committed
revert. lower Gradle heap.
1 parent ccbcefd commit e9d6b95

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ jobs:
3939
needs: [ assemble-and-check ]
4040
if: github.ref == 'refs/heads/main'
4141
runs-on: ubuntu-latest
42+
env:
43+
GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xms2g -Xmx2g -XX:+UseParallelGC -XX:+HeapDumpOnOutOfMemoryError"
4244

4345
steps:
4446
- uses: actions/checkout@v4

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=2g",
45+
"-R:MaxHeapSize=100m",
4646
"-march=native",
4747
)
4848
}

0 commit comments

Comments
 (0)