Skip to content

Commit eaf653d

Browse files
committed
adjust Gradle daemon memory instead
1 parent ee21fa6 commit eaf653d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ jobs:
116116
shell: bash
117117
run: |
118118
# EXPERIMENT: Bump memory profile for Kotlin daemon
119-
echo -e "\n\nkotlin.daemon.jvmargs=-Xmx8G -XX:MaxMetaspaceSize=2G" >> gradle.properties
119+
sed -ir 's/-Xmx[0-9]+G/-Xmx6G/g' gradle.properties
120+
sed -ir 's/-XX:MaxMetaspaceSize=[0-9]+G/-XX:MaxMetaspaceSize=2G/g' gradle.properties
120121
cat gradle.properties
121122
echo ''
122123

0 commit comments

Comments
 (0)