I'm trying to run git clone and am receiving the following error:
fatal: Out of memory, malloc failed
fatal: index-pack died with error code 128
fetch-pack from 'user@server:git' failed.
I was able to successfully do a clone on my local machine, but it's failing when I try to clone to another server.
Still somewhat new to this whole git thing, so any help would be greatly appreciated. :)
Do you have big files in your repository (like log files for example) ?
Apparently, your repository is too big to be retrieved on your hard drive.
There are two things you can do :
If git
on the remote machine fails due to memory constraints you might also try rsync
or scp
to copy the repository to your local machine and continue with cloning from there.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With