123

I created a BitBucket account today, and I love the fact that they allow you to have unlimited public/private repositories. However, I didn't find the size limit of your account? Does anyone know where to find it?

Asclepius
  • 57,944
  • 17
  • 167
  • 143
Geo
  • 93,257
  • 117
  • 344
  • 520
  • 7
    he's saying that bitbucket can implement a size limit any time they want. However, I doubt that will happen because it used to be limited until they merged with Atlassian, disk space is cheap, and repos tend to be very modest in size compared to things like video, images, and other binary files. – Joel B Fant Jun 11 '11 at 17:56
  • Bit Bucket's website actually links directly to this image as an example of what they do to you if you abuse the system: http://www.leedberg.com/mad/spies/snowboom.gif the link is here: https://confluence.atlassian.com/pages/viewpage.action?pageId=273877699 – johnbakers Oct 16 '13 at 01:41
  • 1
    For *Mercurial* repositories on BitBucket, the limit will soon be 0. See [my answer below](https://stackoverflow.com/a/57581461/6309). – VonC Aug 20 '19 at 21:00

6 Answers6

150

EDIT #2 (Over three years later, as pointed out by matchew)

As of 30 May 2014 There is now a 1gb (soft 2gb hard) limit. read this for more information

Here is a link to their FAQ which address this question


According to the banner on their homepage: Unlimited disk space. I can highly recommend it. ;-)

* EDIT (ALMOST TWO YEARS LATER) * I can still highly recommend it ;-) And in the meantime they have addressed this question in their FAQ

We don't place any limits on the size of your repositories, file uploads, or the number of public repositories you can have. Not on the paid plan or on the free plan. We do expect that you are polite and respect fair use. read more....

Community
  • 1
  • 1
santiagoIT
  • 9,411
  • 6
  • 46
  • 57
  • 22
    :) I know this is what they claim but there's no such thing as 'unlimited disk space'. I just wish they'd put an actual number on it so we know how big it really is because there has to be a point that it doesn't make financial sense for them. If you don't believe me try pushing a backup of your 3tb hard drive to their server and see if they contact you ;) – Sean Bannister Feb 28 '12 at 05:38
  • 1
    Maybe it takes an infinite amount of the... Like... they lower the transfer rate... By the way, I have the same problem. Actually they not publishing the limit makes me not upload more than 50 MB :D (I guess everybody thinks so...) – Philip Jul 07 '12 at 10:55
  • 2
    An ex-coworker noobishly added several large files to a git repo. The repo is currently **385.9 MB**, and bitbucket is as happy as a clam. (devs hate it b/c cloning takes minutes! it isn't an active project, so meh) – whitehat101 Jan 24 '13 at 18:46
  • I have several large repos (lots of images in there and other cruft that should have never been added) on bitbucket including one thats 2.6GB and bitbucket has never stumbled for me – Bruce Aldridge Apr 04 '13 at 19:51
  • 1
    ProTip: The BFG makes removing unwanted large files from repos really easy: http://rtyley.github.com/bfg-repo-cleaner/ – Roberto Tyley Apr 04 '13 at 21:27
  • now they have given a limit of 1 Gb on repo size [here](https://confluence.atlassian.com/pages/viewpage.action?pageId=273877699) – mrudult Feb 25 '14 at 18:44
  • 1
    @mrudult If you read carefully there are still no limits "We don't set any limits on the size of your repositories, file uploads, or the number of public repositories you can have.". They do expect fair usage. – santiagoIT Feb 25 '14 at 21:23
  • 1
    BitBucket is an awesome service, just a small comment on limits ... uploading (git push) to bitbucket seems to be capped at 35 KB/sec for me. Maybe this is one of the ways BitBucket enforces fair use. Eg. if I wanted to upload 1GB of repo, it would take me at least 9 hours. – dodgy_coder Apr 27 '14 at 05:00
  • Your edit #2 doesn't actually adress the question, because it is a limit on repository size, not on account size. Each account is permitted to have multiple repositories. The question is what limit is imposed on the total size of all those repositories. – flodin Jan 17 '19 at 09:55
48

Bitbucket's documentation says:

We don't place any limits on the size of your repositories, file uploads, or the number of public repositories you can have. Not on the paid plan or on the free plan. We do expect that you are polite and respect fair use. If you push your entire MP3 collection that is not polite or respectful to the artists.

(Just for the sake of completeness)

Eelvex
  • 8,975
  • 26
  • 42
  • 10
    "not polite or respectful to _the artists_." Ok but respectful and polite to bitbucket ;) – Philip Jul 07 '12 at 11:14
  • 3
    This is also an important point: "Keep in mind Bitbucket is a code hosting service not a file sharing service. If a lot of your files are extremely large or if your files are binaries or executables, you should understand Git or Mercurial will not work well with them. You'll find that even locally your repository is barely usable." – arxpoetica Mar 28 '13 at 16:40
15

Note that Atlassian changed their policy on May 20th, 2014 for newly-created repositories:

Soft limit of 1 GB – In-product and email notifications will give you a heads-up that you’re approaching the limit.

Hard limit of 2 GB – Pushing to the repository will be disabled until you’re back under the limit.

From their Repository size limits blog post.

PiTheNumber
  • 22,828
  • 17
  • 107
  • 180
Dave Teare
  • 509
  • 3
  • 7
7

According to their FAQ:

We do not enforce any size limits. Unlimited is unlimited. However, we do ask people to use Bitbucket for software related stuff (Bitbucket is not intended to be used as a personal backup service for your home directory or MP3s).

Personally, I would prefer to pay for storage space and be able to story "beyond just source" honestly. I want to use them for not only source code but to include corporate scanned PDFs. They aren't huge but certainly it can be bigger than source code. I have no desire for MP3s audio files but being able to exchange files with my accountant and track progress in issues that are beyond code in something like JIRA is extremely useful.

Asclepius
  • 57,944
  • 17
  • 167
  • 143
Robin R
  • 1,037
  • 10
  • 6
  • git is not good for binaries. You can eventually use SVG instead of pdf. – gagarine Nov 11 '12 at 23:36
  • 2
    "git is not good for binaries" - what does that actually mean? What's the alternative - gitignore the PDF directories and selectively rsync them? Sounds like a lot more hassle than just including the PDFs in the repository. And "Use SVG instead of PDF" is just not a sensible suggestion. – Bobby Jack Sep 06 '13 at 14:41
5

2022: the limit is raised to 4 ("What kind of limits do you have on repository/file size?") for BitBucket Cloud:

  • 4GB: Your ability to push to the repository will be disabled.
  • 10GB: Above 10.0 GB all changes are rejected.

It was still 2GB hard in Apr. 2021, and raised to 4GB in Aug. 2021


August 2019: the soft limit (1GB) and hard limit (2GB) are still in place per repository.

But that will soon be for Git repositories only.

Regarding Mercurial specifically (which is one of the tags for this question), the limit will be 0.

BitBucket sunset SVN in 2011, explaining how to migrate to Mercurial.

BitBucket is sunsetting Mercurial today (2019), and they will remove those repositories in June 2020.
Not keep them read-only, not archive them: delete them.

From here:

We considered a conversion tool but ultimately [...] we are not planning to add a conversion tool

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • @Asclepius Links added. Apparently, the change (limit raise) occurred sometime between Apr. and Aug. 2021. – VonC Aug 05 '22 at 23:59
-1

As of 2022, Bitbucket has a hard size limit of 4 GB per repository. Beyond it, as per the quote below, pushes to the repository are disabled:

Over 4 GB limit: Your ability to push to the repository will be disabled. You will be notified via a notification bar in Bitbucket Cloud.

An unlimited number of private repositories are offered.

Usage

The size used by each repo can be seen at:

https://bitbucket.org/<username>/workspace/projects/<project_key>

The project key is listed on the Projects page.

Asclepius
  • 57,944
  • 17
  • 167
  • 143