Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-4174

Clone/Pull on shared hosting with limited memory results in: "fatal: Out of memory, malloc failed" message (BB-4465)

    XMLWordPrintable

Details

    Description

      Hi,

      I've encountered this problem 3 times now in the last few months, so I am surprised that I haven't been able to find anything regarding this in your documentation.

      In essence it seems the remote repo (Bitbucket) decides that it needs to be repacked and on a shared host with limited memory this results in the following messages:

      {{{
      #!shell

      remote: Counting objects: 9108, done.
      remote: Compressing objects: 100% (7317/7317), done.
      remote: Total 9108 (delta 2579), reused 7839 (delta 1518)
      Receiving objects: 100% (9108/9108), 120.75 MiB | 795 KiB/s, done.
      fatal: Out of memory, malloc failed (tried to allocate 177183921 bytes)
      fatal: index-pack failed
      }}}

      I've found this on Stackoverflow:

      http://stackoverflow.com/questions/4826639/repack-of-git-repository-fails

      And it seems to be spot on describing this problem. The proposed solution here is to change the config in the remote (Bitbucket) but as far as I can see this is not anything I can do??

      Any suggestions? Thanks for your time!!

      Attachments

        Activity

          People

            Unassigned Unassigned
            3628b67a4cf8 Kramericandk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: