From 4125633bf43a65917ecf8129ed0cbbfaff5ffd4a Mon Sep 17 00:00:00 2001 From: Anton <100830759+antonwolfy@users.noreply.github.com> Date: Wed, 29 Oct 2025 11:19:57 +0100 Subject: [PATCH] Increase swap size up to 8GB in GitHub runners (#2642) There are out-of-memory issues observing when running dpnp tests in parallel with `pytest-xdist` and `-n auto`. The default swap size was set to 4 GB for Linux runners and it seems not enough to have the parallel tests run, which caused: > node down: Not properly terminated The PR proposes to increase the swap size for Linux runners up to 8 GB. That makes the tests run more stable. --- .github/workflows/conda-package.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/conda-package.yml b/.github/workflows/conda-package.yml index 8b84b826776..cb7221df811 100644 --- a/.github/workflows/conda-package.yml +++ b/.github/workflows/conda-package.yml @@ -139,6 +139,11 @@ jobs: ver-json-path: '${{ github.workspace }}/version.json' steps: + - name: Set Swap Space + uses: pierotofy/set-swap-space@49819abfb41bd9b44fb781159c033dba90353a7c # v1.0 + with: + swap-size-gb: 8 + - name: Checkout DPNP repo uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 with: