Skip to content

Commit

Permalink
CI: Increase heap memory size for CrateDB to 4 GB
Browse files Browse the repository at this point in the history
This may help in situations where the integration tests are heavy on
memory use, and where we observed flaky behaviour on CI.

According to GitHub's documentation, standard runners offer 16 GB of
RAM, so dedicating 4 GB to CrateDB will not blow up the main memory.

-- https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
  • Loading branch information
amotl committed Feb 5, 2024
1 parent e36dc79 commit 4f883ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ jobs:
ports:
- 4200:4200
- 5432:5432
env:
CRATE_HEAP_SIZE: 4g

name: Python ${{ matrix.python-version }} on OS ${{ matrix.os }}
steps:
Expand Down

0 comments on commit 4f883ab

Please sign in to comment.