Failed Container 'docker' exceeded memory limit on atlassian/renovate-scan pipeline

Roman_Kovalenko
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 20, 2023

I get "Failed Container 'docker' exceeded memory limit" on community atlassian/renovate-scan pipeline.

 

Any ideas how to fix this since I'm using existing pipeline from atlasian?

2 answers

1 accepted

1 vote
Answer accepted
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 30, 2023

G'day @Roman_Kovalenko, and Welcome to community!

Based on the error you received, the pipe docker container uses more than the allocated default 1GB memory.

You'll need to increase the docker container memory to 1.5 GB or more depending on the situation as the following example:

definitions:
  services:
    docker:
      memory: 1536  #Increase memory to 1.5 GB

If it's still failing, you'll need to use the 2x options to double up the default 4 GB memory allocated to 8 GB so you can allocate more memory in the docker services.

Example use of 2x options:

options:
  size: 2x

pipelines:
  default:
    - step:
        script:
          - echo "test"

definitions:
  services:
    docker:
      memory: 2048  #Increase memory to 2 GB

Hope this helps!

Cheers,
SYahrul

0 votes
Roman_Kovalenko
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 20, 2023

my pipeline is very simple: 

 

pipeline.JPG

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events