Skip to content

Commit

Permalink
Try to use all RAM possible when building TruffleRuby
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
eregon committed Jul 5, 2024
1 parent 4f4f8d0 commit 2c51895
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ jobs:
- run: free -m
if: startsWith(matrix.os, 'ubuntu')
- name: Build TruffleRuby (native)
run: jt build --env native
run: jt build --env native --extra-image-builder-argument=rubyvm:-J-XX:MaxRAMPercentage=100
if: matrix.name == '-head'
- name: Build TruffleRuby (jvm)
run: jt build --env jvm-ce-libgraal
Expand Down

0 comments on commit 2c51895

Please sign in to comment.