Re: git gc --prune consumes *lots* of memory with repos cloned with --reference

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2009.02.12 12:32:13 -0600, Jon Nelson wrote:
> The situation:
> 
> I cloned linux-2.6
> Then I cloned netdev-2.6 with --reference $PWD/linux-2.6
> Then I cloned net-2.6 with --reference $PWD/netdev-2.6
> 
> The problem:
> 
> git gc --prune on netdev-2.6 takes WAY more memory than git gc --prune
> on linux-2.6
> git gc --prune on net-2.6 takes WAY WAY more memory. 1.5G and counting.
> 
> Why does git gc --prune take 1.5G? (git pack-objects is the actual
> memory-hungry process)

Probably an older git version? There was a bug that caused a memory leak
with unreachable objects being forced to be loose objects. That was
fixed in 1.6.0.3

Björn
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux