Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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 increase the available resources.

I tried introducing a new internal image to my bitbucket-pipelines.yml file, and the build gave me this message without running anything.

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

So it appears that I need to increase the resources available for the build to run.  How can I go about doing that?

1 answer

2 votes

Hi @John_Chesshir

A step in Pipelines has 4GB of available memory by default. You can increase this to 8GB by running 2x builds:

When you add a service to a step it will consume 1GB by default. For example a step with a single service leaves 3GB for the rest of the build. The build space must have at least 1GB to run.

You can configure a service to use anywhere from 128 to 3072 MB (or 7128 MB for 2x builds). This allows you to dedicate less memory to services and more to the build space as required. Please see "Service memory limits" in our documentation for more information:



But what does `1024 MB` mean in the error message? If the default value is 4 GB then how come running a service (docker) with 3 GB throws me this error?

Like # people like this

Is there any update on this?

1024 MB is the minimum amount of memory required by the default build container. If you allocate docker 3072 MB then there will be 1024 MB left for the build container. E.g.

         memory: 3072

If you allocate docker 3073 MB or more you will see this error.

If you allocate docker 3072 MB and you have a second service you will see this error as the total memory pool is 4 GB and the build space must have at least 1 GB to run.

is there way, by which we can allocate more than 8GB of memory to a step?

Like # people like this

Suggest an answer

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

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

366 views 2 10
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