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.
for me, installing latest git, and switching sourcetree to use system git eventually did the trick
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.