From: Geoff Russell Date: Wed, 01 Sep 2010 01:53:23 GMT Subject: Re: Large pack causes git clone failures ... what to do? Message-ID: In-Reply-To: On Wed, Sep 1, 2010 at 7:33 AM, Geoff Russell wrote: > Thanks Shawn, > >... >> You really needed to run: >> >>  git repack --max-pack-size=.. -a -d >> >> The -d flag tells it to remove the old packs once the new packs >> are ready, and the -a flag tells it to reconsider every object >> in the repository, rather than just those that are loose. > > Ok, will try. The repack failed with a "fatal: Out of memory, malloc failed", perhaps I just need to try a machine with more memory! I'm still interested in whether clone from a client take note of the pack.packSizeLimit if I set it on the server? Or does it use the client value? Cheers, Geoff