git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Ping Yin <pkufranky@gmail.com>
Date
Apr 17, 2011, 03:32 UTC
Message-ID
<BANLkTi=ABGrsUCxpB6fUXCP0477iq=irhw@mail.gmail.com>
In-Reply-To
<BANLkTimOnuSsSeuZ5QvLQLZBg1QnnDzaNw@mail.gmail.com>
On Sun, Apr 17, 2011 at 11:24 AM, Ping Yin <pkufranky@gmail.com> wrote:
Show 12 quoted lines
> 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"?
Previous: Ping Yin
Message 2 of 2 in “What the best git repack option to avoid out of memory (2G free memory)”
  1. Ping YinApr 17, 2011
  2. Ping YinApr 17, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.