From: Johannes Schindelin Date: Sat, 29 Jul 2006 11:40:01 GMT Subject: Re: git prune pig slow Message-ID: In-Reply-To: <20060729090250.GC26956@flint.arm.linux.org.uk> Hi, On Sat, 29 Jul 2006, Russell King wrote: > Hi, > > git 1.4.0, P4 2.6GHz, 1GB. > > I'm trying to use "git prune" to remove some unreachable objects from > my git tree. However, it appears to be _extremely_ expensive: > > rmk 13376 91.3 15.7 165980 161556 pts/0 R+ 09:50 5:14 git-fsck-object > > stracing it shows that it's doing lots and lots of brk() calls. Does git-count-objects show a high amount of unpacked objects? You should try "git-repack -a -d" _before_ git-prune, then. Hth, Dscho