Re: git pull is slow
- From
- Stephan Hennig <mailing_list@arcor.de>
- Date
- Jul 13, 2008, 09:01 UTC
- Message-ID
- <4879C469.4080101@arcor.de>
- In-Reply-To
- <alpine.DEB.1.00.0807121546590.8950@racer>
Johannes Schindelin schrieb:
Show 26 quoted lines
> I suspected that you run out of space for the cache holding some > reconstructed blobs (to prevent reconstructing all of them from scratch). > > [...] > > Okay, "valgrind --tool=massif" to the rescue: > > -- snip -- > MB > 555.9^ , # > | @..# > ~ > | . :::: ::: ::::: @:: : : :: : :: :@ :@: :@@::@:: :::: @: : @@: :@::# :: > 0----------------------------------------------------------------------->Gi > 32.83 > -- snap -- > > [...] > > Now, I do not know the internals of index-pack enough to know if there is > a way to cut the memory usage (by throwing out earlier reconstructed > blobs, for example, and reconstructing them _again_ if need be), so I > Cc:ed Nico and hand the problem off to him. > > I expect this to touch the resolve_delta() function of index-pack.c in a > major way, though.
Thank you for the analysis! As a workaround, I think about splitting the file. Can you suggest a proper file size?
Best regards, Stephan Hennig