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

Cygwin can't handle huge packfiles?

From
Kees-Jan Dijkzeul <k.j.dijkzeul@gmail.com>
Date
Apr 3, 2006, 09:46 UTC
Message-ID
<fa0b6e200604030246q21fccb9ar93004ac67d8b28b3@mail.gmail.com>
Hi,

I'm trying to get Git to manage a 5Gb source tree. Under linux, this works like a charm. Under cygwin, however, I run in to difficulties. For example:

$ git-clone sgp-wa/ sgp-wa.clone fatal: packfile ./objects/pack/pack-56aa013a0234e198467ed37ae5db925764a6ee98.pack cannot be mapped. fatal: unexpected EOF fetch-pack from '/cygdrive/e/Projects/sgp-wa/.git' failed.

To figure out what is happening, I printed the value of errno, which turns out to be 12 (Cannot allocate memory). I'm not sure how mmap is implemented in cygwin, but if they allocate memory and load the file into it, then this error is not surprising, as the pack file in question is 1.5Gb in size.

I'm not sure how to approach this problem. Any tips would be greatly appreciated.

Thanks a lot!
Kees-Jan
Next: Johannes Schindelin
Message 1 of 18 in “Cygwin can't handle huge packfiles?”
  1. Kees-Jan DijkzeulApr 3, 2006
  2. Johannes SchindelinApr 3, 2006
  3. Morten WelinderApr 3, 2006
  4. Linus TorvaldsApr 3, 2006
  5. Linus TorvaldsApr 3, 2006
  6. Kees-Jan DijkzeulApr 5, 2006
  7. Johannes SchindelinApr 5, 2006
  8. Christopher FaylorApr 5, 2006
  9. Rutger NijlunsingApr 5, 2006
  10. Christopher FaylorApr 6, 2006
  11. Junio C HamanoApr 6, 2006
  12. Junio C HamanoApr 7, 2006
  13. Jakub NarebskiApr 7, 2006
  14. Nicolas PitreApr 7, 2006
  15. Junio C HamanoApr 7, 2006
  16. Nicolas PitreApr 7, 2006
  17. Johannes SchindelinApr 3, 2006
  18. Alex RiesenApr 3, 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.