Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to allocate memory for a service at step level Edited


I have a pipeline with 2 steps that use pipes and one of them needs a lot of memory.

This is a simplify version of my pipeline:

docker: memory: 7128
- step: &deploy
name: Deploy Heroku
- pipe: atlassian/heroku-deploy:1.1.4

- step: &whitesource
name: WhiteSource Scan
size: 2x
- docker
- pipe: WhitesourceSoftware/whitesource-scan:1.3.0
- step: *deploy
- step: *whitesource

 As far as i now the pipes are executed as docker in docker so i just set the maximum memory and a 2x size.

The whitesource pipe works fine using a 2x container and allocating  7128mb for the pipe but the deploy cannot be run because is a x1 container and when the system try to allocate the memory for the pipe (the internal docker) there is not enough and i get this error

A step does not have the minimum resources needed to run (1024 MB). Services on the current step are consuming 7128 MB

I tried to set the memory for the service inside the step but it didn't work.  I'm not sure if it is not possible or I'm using the wrong syntax.

As a workaround I can use a size x2 in the other step but It is not needed and I'd like to be able to set the memory just for the whitesource step.



1 answer

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Announcing the waitlist for Jira Work Management

Hey there Cloud Community members! We’re excited to give you the first glimpse of the new home for business teams on Jira — Jira Work Management. Jira Work Management is the next generation of J...

890 views 14 20
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you