For a game development project we have a git repo which has large binary files. They vary between 10-70MB and ~700MB in total checkout size.
I'm using the following software:
When I try to push (initial push) to github I get the following error (always around progress of ~170MB):
git.exe push -v --progress "origin" master:master
Pushing to [email protected]:totallymorten/ue4-test.git
Counting objects: 407, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (402/402), done.
select: Not enough memory
fatal: sha1 file '<stdout>' write error: Invalid argument
fatal: The remote end hung up unexpectedly
error: failed to push some refs to '[email protected]:totallymorten/ue4-test.git'
git did not exit cleanly (exit code 1) (573007 ms @ 12-11-2014 16:50:48)
The funny thing is, that if I try exactly the same on my linux workstation it works!
I've tried all combinations of using Putty plink instead of OpenSSH, and I've also tried https:// for alternative protocol. Nothing has worked on windows so far. Though, I get another error message with https:// and I suspect I can increase the POST buffer size to make it work... but I would really prefer SSH.
I know there are various workarounds like sub-modules and git-annex, and there are other posts like:
but I've found nothing that really helps my issue.
Any comment appreciated,
Thanks,
Morten.
Ok, so I finally got it to work:
** EDIT **
Actually you CAN use sourcetree directly with CygWin + git 64-bit. Just point to the git executable in the sourcetree settings like this:
And it works!!
I had some problems with TortoiseGit though, but they were mostly: