You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hello,
I am having troubles cloning a repository from Bitbucket Server.
I got the error "Error downloading object.." "fatal: Out of memory, realloc failed" when I try to clone the repository.
This object is a heavy file (1.769.579.176 bytes) but I could download it directly from "Browser" (So I imagine it is not corrupted)
The repository uses Git-LFS and I suppose this file was pushed as LFS.
I have extended the http.postbuffer and http.maxrequest config values and they don't solve it.
How could I solve this?
I am thinking in downloading the entire repository as .zip file, but pressing "Download" button in "Master" branch (Source tab) only downloads a small .zip.
As alternative, how could I download the repository?
Thanks in advance, best regards.
Hi Manuel,
Thanks for reaching out here.
Which git version is running on your local machine ?
It look to me that git process on remote host seem to be hitting a memory limit. Update the ulimit to expand the memory limit for the user, or, you could try to update the "git config" to suit your virtual memory limit. See also Tuning Git for large binary repositories
core.preloadindex=false
core.packedgitwindowsize=100m
core.packedgitlimit=100m
pack.windowmemory=100m
Kind Regards,
Victor
for me, installing latest git, and switching sourcetree to use system git eventually did the trick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.