[Koha-devel] git repo size (restarting a discussion)

Mason James mtj at kohaaloha.com
Fri Apr 6 06:36:36 CEST 2012


On 2012-04-6, at 4:29 PM, Mason James wrote:

> 
> 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
> 


aaah, perhaps this is a better option ->  https://github.com/hbons/SparkleShare/issues/519


leave git multi-threading on, but force some memory limits, with a ~/.gitconfig file like this...

[core]
  packedGitLimit = 128m
  packedGitWindowSize = 128m

[pack]
  deltaCacheSize = 128m
  packSizeLimit = 128m
  windowMemory = 128m

-------------- 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/95a4f0ce/attachment-0001.pgp>


More information about the Koha-devel mailing list