git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* win2k/cygwin cannot handle even moderately sized packs
@ 2006-11-07 11:02 Alex Riesen
  2006-11-07 12:17 ` Noel Grandin
  2006-11-13 12:45 ` Johannes Schindelin
  0 siblings, 2 replies; 21+ messages in thread
From: Alex Riesen @ 2006-11-07 11:02 UTC (permalink / raw)
  To: git

For me, it fails even on 332Mb pack:

$ git reset --hard 61bb7fcb
fatal: packfile .git/objects/pack/pack-ad37...pack cannot be mapped.

Instrumenting the code reveals that it fails on 348876870 bytes.
Strangely enough, a cygwin program which just reads that pack
many times without freeing the mem goes up to 1395507480 (1330Mb).

If I replace the malloc (cygwin) with native VirtualAlloc(MEM_COMMIT)
it reports that "Not enough storage is available to process this command",
which is just ENOMEM, I think.

This is a 2Gb machine, with almost 1.3Gb free, so I'm a bit confused,
what could here go wrong (besides what already is wrong).


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2006-11-13 17:36 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-07 11:02 win2k/cygwin cannot handle even moderately sized packs Alex Riesen
2006-11-07 12:17 ` Noel Grandin
2006-11-07 13:55   ` Alex Riesen
2006-11-07 15:50     ` Jakub Narebski
2006-11-07 17:28       ` Alex Riesen
2006-11-07 17:48         ` Shawn Pearce
2006-11-07 18:13           ` Alex Riesen
2006-11-07 18:18             ` Shawn Pearce
2006-11-07 18:26               ` Shawn Pearce
2006-11-07 18:56                 ` Shawn Pearce
2006-11-07 23:11                   ` Alex Riesen
2006-11-08  5:19                     ` Shawn Pearce
2006-11-08 13:37                       ` Alex Riesen
2006-11-08 17:11                         ` Shawn Pearce
2006-11-08 21:33                           ` Alex Riesen
2006-11-08 22:28                             ` Shawn Pearce
2006-11-07 19:27                 ` Alex Riesen
2006-11-08 19:22     ` Christopher Faylor
2006-11-13 12:45 ` Johannes Schindelin
2006-11-13 17:34   ` Alex Riesen
2006-11-13 17:36     ` Alex Riesen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).