I'm trying to clone a git repository onto my local machine, but it is saying "malloc failed
" because the repository is too big.
Does anyone know the exact rsync command I could use to copy over the directory? or is there anything else I can do to clone a big repository?
I tried rsyncing but it gives me the following error:
Invalid command: 'rsync --server --sender -v . username/dir.git'
You appear to be using ssh to clone a git:// URL.
Make sure your core.gitProxy config option and the
GIT_PROXY_COMMAND environment variable are NOT set.
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(463) [receiver=2.6.8]
I get the following error when trying to use git clone:
remote: Counting objects: 52708, done.
remote: Compressing objects: 100% (52188/52188), done.
fatal: Out of memory, malloc failed (tried to allocate 1471836719 bytes)
fatal: index-pack failed