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

What are the disk space limitations for the build?

Ben Tatham Sep 20, 2016

This question is in reference to Atlassian Documentation: Limitations of Bitbucket Pipelines (beta)

In pipelines, are there limits on how much disk space you can use during the build, and what is that limit?

2 answers

0 votes
Sten Pittet Sep 20, 2016

Hi Ben,

We recommend to keep the disk space required to run the pipeline under 5GB. We're monitoring usage during the beta to inform better what limits we will have when we make Bitbucket Pipelines available to all customers.



Ben Tatham Sep 21, 2016

We have one project (sort of a custom packet-based db) that has tests that generate some pretty large files (that get deleted after test), but there's all much less than 5GB - perhaps 1GB of files at most.  Just investigating some test failures there, and wanted to make sure we not hitting some limits.


For reference, we added some diagnostics to our build steps - so I don't think disk space is the issue.  We have noticed weird behavior of the docker filesystem though on other tests (we're pretty new to docker - issues with filesystem not syncing quickly at all, even with explicit sync's in our code), so perhaps we're seeing something like that in these tests too.


df -h
+ df -h
Filesystem Size Used Avail Use% Mounted on
none 197G 65G 125G 35% /
tmpfs 16G 0 16G 0% /dev
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/xvda1 197G 65G 125G 35% /root/.m2
shm 64M 0 64M 0% /dev/shm


I'm trying to recreate failures on local docker, but get different results.

0 votes
Sten Pittet Sep 20, 2016

Hey Ben, just to get more context would you mind telling us how much space your builds need on average?


Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

3,329 views 3 22
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