[Koha-devel] git repo size (restarting a discussion)
Mason James
mtj at kohaaloha.com
Fri Apr 6 06:29:31 CEST 2012
On 2012-04-5, at 11:25 PM, Paul Poulain wrote:
> Le 05/04/2012 11:36, MJ Ray a écrit :
>> Paul Poulain <paul.poulain at biblibre.com>
>>> Yikes: I just tried twice with my laptop -so locally- and get a nasty
>>> error after 10mn taking 100% of my 4 cores =
>> [...]
>>> fatal: Out of memory, malloc failed (tried to allocate 4479308 bytes)
>>> error: failed to run repack
i had the same problem too. i had a google, and found some good advice
http://stackoverflow.com/questions/9561835/git-push-suboptimal-pack-out-of-memory
http://stackoverflow.com/questions/7362709/git-pull-fails-with-bad-pack-header-error
i added this to my ~/.gitconfig file, and it fixed my problem :)
[pack]
threads = 1
these also may help.....
git config --global pack.windowMemory "100m"
git config --global pack.SizeLimit "100m"
git config --global pack.threads "1"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 535 bytes
Desc: This is a digitally signed message part
URL: </pipermail/koha-devel/attachments/20120406/a07c95bc/attachment.pgp>
More information about the Koha-devel
mailing list