Container 'docker' exceeded memory limit.

Deleted user August 8, 2018

Hello all, when using docker service we are experiencing memory limits on image build on two unrelated projects since today (8. 8. 2018). We did not change anything substantial nor added memory complexity of the build, code. Has the memory limitation for the docker services changed recently? Thank you!

2 answers

0 votes
dnajensrichter October 18, 2018

For me adding the line "size: 2x" solved the issue like:

(inside bitbucket-pipelines.yml)

pipelines:

  default:

     - step:

          size: 2x

          caches: - maven

          script: ...

Deleted user October 18, 2018

Exactly, but pricing for `memory: 2048` is more pleasant if it is sufficient.

0 votes
Deleted user August 8, 2018

Resolved as documented, add to `bitbucket-pipelines.yml`

definitions:
services:
docker:
memory: 2048
Aileen Tan June 30, 2020

if not using bitbucket-pipelines, can memory issue be resolved

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events