Hi,
I am getting random errors 'Container 'Build' exceeded memory limit.' and the 'test' step in the below pipeline is failing even though I have assigned it 2x memory.
image:
name: xxx/abc:2023-04-19
username: $user
password: $password
email: noreply@abc.com
pipelines:
default:
- step:
name: build
caches:
- pip
script:
- git submodule update --init --recursive
- make build
artifacts: # defining the artifacts to be passed to each future step.
- wheels/**
- step:
name: lint
caches:
- pip
script:
- make lint
- step:
name: test
size: 2x
caches:
- pip
script:
- make test
Welcome to the Atlassian Community!
You'll need to look at what the test is doing to establish why it is consuming all of the memory.
Thank you for your prompt response. Indeed, I acknowledge the importance of monitoring test cases in our current context. Based on my understanding, it appears that each step is allocated a default memory capacity of 4GB. However, in the case of the 'test' step it is configured to utilize twice the default memory capacity, resulting in a total of 8GB. Within this allocation, 1GB is earmarked for the 'Build' container, while the remaining 7GB is made available for the execution of the 'make test' process.
I would appreciate your confirmation regarding the accuracy of my assessment of the memory allocation described above.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The memory allocation is not directly the problem. You need to look at what the test is doing that causes it to chew up all the memory it has been given.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.