corrupt object memory allocation error

2013-11-20 Thread Joey Hess
I've got a git repository of 2 mb, where git wants to allocate a rather insane amount of memory: git fsck Checking object directories: 100% (256/256), done. fatal: Out of memory, malloc failed (tried to allocate 124865231165 bytes) git show 11644b5a075dc1425e01fbba51c045cea2d0c408 fatal: Out

Re: corrupt object memory allocation error

2013-11-20 Thread Jeff King
On Wed, Nov 20, 2013 at 04:33:50PM -0400, Joey Hess wrote: I've got a git repository of 2 mb, where git wants to allocate a rather insane amount of memory: git fsck Checking object directories: 100% (256/256), done. fatal: Out of memory, malloc failed (tried to allocate 124865231165

Re: corrupt object memory allocation error

2013-11-20 Thread Joey Hess
Jeff King wrote: As for your specific corruption, I can't make heads or tails of it. It is not a single-bit error. Oh, I should have mentioned that I am generating corrupt git repositories mechanically for testing. I think in this case it prepended some garbage to an object. -- see shy jo