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

Packfile can't be mapped

From
Jon Smirl <jonsmirl@gmail.com>
Date
Aug 28, 2006, 01:04 UTC
Message-ID
<9e4733910608271804j762960a8ud83654c78ebe009a@mail.gmail.com>

git-repack can't handle my 1.75GB pack file. I am running x86 with 3GB address space.

-rw-rw-r-- 1 jonsmirl jonsmirl 47221712 Aug 27 20:29 testme.idx -rw-rw-r-- 1 jonsmirl jonsmirl 1754317619 Aug 27 20:29 testme.pack

[jonsmirl@jonsmirl t1]$ git-repack -a -f --window=50 --depth=5000 Generating pack... Done counting 1963325 objects. fatal: packfile .git/objects/pack/testme.pack cannot be mapped. [jonsmirl@jonsmirl t1]$

It is built from Mozilla CVS but it is an intermediate stage of our work. The fast-import tool isn't diffing directory tree which makes the pack much bigger than it needs to be. Shawn is working on the packing code.

---------------------------------------------------
Alloc'd objects:    1968000 (   1892000 overflow  )
Total objects:      1967527 (     41856 duplicates)
      blobs  :       633842 (         0 duplicates)
      trees  :      1131208 (     41856 duplicates)
      commits:       200921 (         0 duplicates)
      tags   :         1556 (         0 duplicates)
Total branches:        1600 (      7985 loads     )
      marks:        1048576 (    200921 unique    )
      atoms:          56803
Memory total:         66908 KiB
       pools:          5408 KiB
     objects:         61500 KiB
Pack remaps:           9501
---------------------------------------------------
Pack size:          1713200 KiB
Index size:           46114 KiB
-- 
Jon Smirl
jonsmirl@gmail.com
Next: Shawn Pearce
Message 1 of 16 in “Packfile can't be mapped”
  1. Jon SmirlAug 28, 2006
  2. Shawn PearceAug 28, 2006
  3. Nicolas PitreAug 28, 2006
  4. Linus TorvaldsAug 28, 2006
  5. Shawn PearceAug 28, 2006
  6. Jon SmirlAug 28, 2006
  7. Nicolas PitreAug 28, 2006
  8. Jon SmirlAug 28, 2006
  9. Nicolas PitreAug 28, 2006
  10. Shawn PearceAug 28, 2006
  11. Nicolas PitreAug 28, 2006
  12. Shawn PearceAug 28, 2006
  13. Shawn PearceAug 28, 2006
  14. Nicolas PitreAug 28, 2006
  15. Shawn PearceAug 29, 2006
  16. Shawn PearceAug 29, 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.