git-repack: Outof memory
- From
- Dongsheng Song <dongsheng.song@gmail.com>
- Date
- Sep 17, 2006, 01:31 UTC
- Message-ID
- <450CA561.9030602@gmail.com>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi all:
I'm import from subversion. The problem appears to be git-repack phase using too many memory:
$ git-repack -a -f -d --window=64 --depth=64 Generating pack... Done counting 123497 objects. Deltifying 123497 objects. 24% (29677/123497) done
$ top
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 3572 www-data 18 0 2591m 1.9g 528 R 13 94.8 81:48.98 git-pack-object
$ free
total used free shared buffers cached
Mem: 2076308 2029824 46484 0 2760 6800
- -/+ buffers/cache: 2020264 56044
Swap: 1028152 684032 344120How to compute memory usage of git-repack ?
Thanks and regards,
Dongsheng
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32)
iD8DBQFFDKVh90pbDJCgbHoRAlweAJ45DhTXI+bb+nb2Y+JlbIBoFusK8wCgk0U2 XcUc9K/chYiUYq3ZLychzcU= =NzXf -----END PGP SIGNATURE-----