Re: Git exhausts memory.
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Apr 4, 2011, 14:57 UTC
- Message-ID
- <BANLkTinU7x16yp+y-HW9UhkVn9SftOJCcA@mail.gmail.com>
- In-Reply-To
- <BANLkTinCwZG3+0Ss8o9ODptg=L8LKKN7aQ@mail.gmail.com>
On Mon, Apr 4, 2011 at 7:52 PM, Alif Wahid <alif.wahid@gmail.com> wrote:
Show 7 quoted lines
> Hi Nicolas, > > On 4 April 2011 01:18, Nicolas Pitre <nico@fluxnic.net> wrote: >> >> Something you can try is to simply tell Git not to attempt any delta >> compression on those tar files using gitattributes (see the man page of >> the same name).
Should we change the default to not delta if a blob exceeds predefined limit (say 128M)? People who deliberately wants to delta them can still set delta attr. 1.8.0 material maybe?
> Seems to have worked. Both git-gc and git-repack appear to be less > memory hungry now and do actually run to completion without failure. > > Thanks for your help.
-- Duy