Hello, I have a quite large rep to push to github using Sourcetree (about 13Gb - it's an Unreal Engine + Max/MSP project).
When I push the main I get those errors:
git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags origin main:main
fatal: mmap failed: Invalid argument
fatal: the remote end hung up unexpectedly
send-pack: unexpected disconnect while reading sideband packet
fatal: the remote end hung up unexpectedly
For what I understand on github you can upload up to 15Gb, but I'd probably need LFS? First time using Sourcetree, so any advice greatly appreciated.
Thanks
Community moderators have prevented the ability to post new answers.
Hi @Marta Rossi
Welcome to the Atlassian Community!
Your 13GB push likely fails due to memory limits or network timeouts. Pushing a large initial commit over HTTPS causes a 'mmap failed' error when Git runs out of memory during packing. Using Git LFS is essential for your Unreal Engine and Max/MSP project.
GitHub's 100MB file limit makes storing large assets directly in Git problematic, bloating your repo and hurting performance.
I would set up Git LFS in your repository first by going to Repository > Git LFS > Initialize Repository in Sourcetree, then track your heavy asset formats like .uasset, .umap, or .fbx before making any fresh commits.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.