git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git-repack: Outof memory

From
DSDongsheng 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     344120
How 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-----

Next: Shawn Pearce
Message 1 of 6 in “git-repack: Outof memory”
  1. Dongsheng SongSep 17, 2006
  2. Shawn PearceSep 17, 2006
  3. Nicolas PitreSep 17, 2006
  4. Shawn PearceSep 18, 2006
  5. Junio C HamanoSep 18, 2006
  6. Shawn PearceSep 18, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.