I tried that:
$ git config pack.deltaCacheLimit 1
$ git config pack.deltaCacheSize 1
$ git config pack.windowMemory 2g
$ #/usr/bin/time git repack -a -d -f --window=250 --depth=250
$ du -s objects/
2548137 objects/
$ /usr/bin/time git repack -a -d -f --window=250 --depth=250
Counting objects: 2477715, done.
fatal: Out of memory, malloc failed411764)
Command exited with non-zero status 1
9356.95user 53.33system 2:38:58elapsed 98%CPU (0avgtext+0avgdata
0maxresident)k
0inputs+0outputs (31929major+18088744minor)pagefaults 0swaps
Note that this is on a 2.4GHz Quadcode CPU with 3.5GB RAM.
I'm retrying with smaller values, but at over 2.5 hours per try, this is
getting tedious.
Ciao,
Dscho
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html