Skip to content

Commit 96e12cf

Browse files
authored
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.
1 parent 9f9b906 commit 96e12cf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/conda-package.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,11 @@ jobs:
139139
ver-json-path: '${{ github.workspace }}/version.json'
140140

141141
steps:
142+
- name: Set Swap Space
143+
uses: pierotofy/set-swap-space@49819abfb41bd9b44fb781159c033dba90353a7c # v1.0
144+
with:
145+
swap-size-gb: 8
146+
142147
- name: Checkout DPNP repo
143148
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
144149
with:

0 commit comments

Comments
 (0)