Re: [PATCH v2] Bump core.deltaBaseCacheLimit to 128MiB
- From
David Kastrup <dak@gnu.org>
- Date
- Mar 21, 2014, 06:04 UTC
- Message-ID
- <87y504ccke.fsf@fencepost.gnu.org>
- In-Reply-To
- <xmqqob10wlac.fsf@gitster.dls.corp.google.com>
Junio C Hamano <gitster@pobox.com> writes:
Show 17 quoted lines
> David Kastrup <dak@gnu.org> writes: > >> Junio C Hamano <gitster@pobox.com> writes: >> >>> Duy Nguyen <pclouds@gmail.com> writes: >>> >>>> The only >>>> downside I see is large blobs will be packed undeltified, which could >>>> increase pack size if you have lots of them. >>> >>> I think that is something that can be tweaked, unless the user tells >>> us otherwise via command line override, when running the improved >>> "gc --aggressive" ;-) >> >> deltaBaseCacheLimit is used for unpacking, not for packing. > > Hmm, doesn't packing need to read existing data?
Judging from the frequent out-of-memory conditions of git gc --aggressive, packing is not restrained by deltaBaseCacheLimit.
-- David Kastrup