Re: git gc - out of memory
- From
- Alejandro 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;