Re: What the best git repack option to avoid out of memory (2G free memory)

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

 



On Sun, Apr 17, 2011 at 11:24 AM, Ping Yin <pkufranky@xxxxxxxxx> wrote:
> When "gc --auto --aggressive --prune" android platform/prebuilt.git, i
> encountered the following error:
>
> Auto packing the repository for optimum performance.
> warning: suboptimal pack - out of memory
> fatal: Out of memory, malloc failed
> error: failed to run repack
>
> I have 2G free memory available and found the --window and
> --window-memory option in git repack. However, i wonder how to compute
> the max memory git-repack will use, is it "window * window-memory"?
>

Or "window * windowMemory * threads"?
--
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]