What are the disk space limitations for the build?

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

This widget could not be displayed.

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.

Thanks,

Sten

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.

This widget could not be displayed.

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

Thanks

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,237 views 8 11
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you