Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am using the Git Gui provided with the git client fromt he git website. The cygwin version has the same problem.

error: git upload-pack: git-pack-objects died with error.
fatal: git upload-pack: aborting due to possible repository corruption on the remote side.
remote: warning: suboptimal pack - out of memory
remote: fatal: Out of memory, malloc failed (tried to allocate 230789474 bytes)
remote: aborting due to possible repository corruption on the remote side.
fatal: protocol error: bad pack header

How do I fix this?

share|improve this question
add comment

1 Answer

I think, it's not Windows-Git problem, but malformed repo, because

aborting due to possible repository corruption on the remote side

Yes, it's common problem for 32bit Windows and big files: (closed) ticket for msysgit and Git on Windows, “Out of memory - malloc failed” topic here.

Solution - x64, smaller files or fine-tune git config

share|improve this answer
    
no, the git client on mac osx (which is how i uploaded the file to begin with) can pull it just fine –  chacham15 Jan 16 '13 at 22:44
    
@chacham15 - oops, sorry, I'm not a sensitive to predict this. Is your repo public (or can be reached in some way) - I think to try create own clone (without any Windows-Git) –  Lazy Badger Jan 16 '13 at 23:14
    
no, its a private repo but pulling on osx works just fine –  chacham15 Jan 16 '13 at 23:22
    
Ok, it seems as well-known problem. URLs added to answer –  Lazy Badger Jan 17 '13 at 1:08
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.