From 2c51895d3fabb9396fcfe372bb06e178c33812ef Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Fri, 5 Jul 2024 14:39:40 +0200 Subject: [PATCH] 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. --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bbb7549..d473740 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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