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

Re: git gc - out of memory

From
ARAlejandro Riveira <ariveira@gmail.com>
Date
Nov 15, 2009, 14:44 UTC
Message-ID
<hdp44d$4ml$1@ger.gmane.org>
In-Reply-To
<df1390cc0911141126w1a0c5691p83885053a73f829@mail.gmail.com>
El Sat, 14 Nov 2009 20:26:00 +0100, Simon Strandgaard escribió:
Show 8 quoted lines
> My bare repository is on an OpenBSD machine. I was unaware of the
> importance of git gc until today after investigating a problem with "git
> pull". So there hasn't been run git gc on the repository ever.
> 
> The biggest file in the repository is a 45 mb file. The repository size
> is near 2 gb.
> 
> What can I do?

run « git repack -adf --window=memory » on the repo where memory is escaled apropiately for your machine ?

See « git help repack »
Regards;
Previous: Simon StrandgaardNext: Simon Strandgaard
Message 2 of 4 in “git gc - out of memory”
  1. Simon StrandgaardNov 14, 2009
  2. Alejandro RiveiraNov 15, 2009
  3. Simon StrandgaardNov 15, 2009
  4. Alejandro RiveiraNov 16, 2009

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.