From acd3c58df0a6a59c018ebcd61824a353bf5e2b94 Mon Sep 17 00:00:00 2001 From: Yuki Adachi Date: Wed, 19 Jun 2024 09:54:11 +0700 Subject: [PATCH] Fix vm.overcommit_memory --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1db79b8..a82e068 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,6 +28,7 @@ jobs: # To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot # or run the command 'sysctl vm.overcommit_memory=1' for this to take effect. - name: Enable memory overcommit + if: matrix.os == 'ubuntu-latest' run: | sudo sysctl vm.overcommit_memory=1