Skip to content

Commit 2c51895

Browse files
committed
Try to use all RAM possible when building TruffleRuby
* It is tight on 7GB macos-14 with only 7GB RAM, and the default uses 85% of total RAM (when <8GB) which leads to 50% time in GC.
1 parent 4f4f8d0 commit 2c51895

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ jobs:
127127
- run: free -m
128128
if: startsWith(matrix.os, 'ubuntu')
129129
- name: Build TruffleRuby (native)
130-
run: jt build --env native
130+
run: jt build --env native --extra-image-builder-argument=rubyvm:-J-XX:MaxRAMPercentage=100
131131
if: matrix.name == '-head'
132132
- name: Build TruffleRuby (jvm)
133133
run: jt build --env jvm-ce-libgraal

0 commit comments

Comments
 (0)