Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection tests use a lot of memory #189

Open
alexjpwalker opened this issue Apr 6, 2021 · 0 comments
Open

Connection tests use a lot of memory #189

alexjpwalker opened this issue Apr 6, 2021 · 0 comments

Comments

@alexjpwalker
Copy link
Member

alexjpwalker commented Apr 6, 2021

Problem to Solve

When running the feature files connection/session.feature and connection/database.feature in parallel, our CI machines run out of memory.

Proposed Solution

We could do one of the following:

  • Reduce the number of concurrent databases opened in these features (currently 6)
  • Increase the amount of memory in the CI machine that runs them (currently 2GB)
  • Limit the parallelisation of test runs using --jobs=1 (this is what we currently do, along with a TODO message saying we should fix this issue. It may be that this is, however, the best solution, in which case we should remove that TODO)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants