Re: irc usage..
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- May 22, 2006, 17:27 UTC
- Message-ID
- <Pine.LNX.4.64.0605221013020.3697@g5.osdl.org>
- In-Reply-To
- <46a038f90605220554y569c11b9p24027772bd2ee79a@mail.gmail.com>
On Tue, 23 May 2006, Martin Langhoff wrote:
Show 5 quoted lines
> > And there are two patches that I suspect may fix the leak. After > applying them, the cvsimport process grows up to ~13MB and then tapers > off, at least as far as my patience has gotten me. It's late on this > side of the globe so I'll look at the results tomorrow morning.
Ok, initial results are promising. git-cvsimport appears to be still slowly growing, but it's at 40M (ie pretty tiny, considering that cvsps grew to 800+MB on this archive) and growth seems to actually be slowing.
My conversion is only up to September 2002, but if it doesn't suddenly hit some huge growth spurt, I wouldn't expect it to run out of memory. The CVS server process itself is tiny, and doesn't seem to grow at all.
As to packing, it doing something like
while : do sleep 30
# # repack roughly every 25600 objects # n=$(ls .git/objects/00 2> /dev/null | wc -l) if [ $n -gt 100 ]; then git repack -a # # Stupid sleep to make sure that nobody is still # using any unpacked objects after the pack got # generated # sleep 10 git prune-packed fi done
or similar (the above is totally untested - I've just done it by hand a few times) should work. It's perfectly ok to repack the archive even while the cvsimport script is adding more data and changing it.
Linus