From: Dmitry Potapov Date: Sun, 17 Oct 2010 10:54:40 GMT Subject: Re: [PATCH] Fix checkout of large files to network shares under Windows XP Message-ID: In-Reply-To: <4CB9DF7E.1020203@lsrfire.ath.cx> On Sat, Oct 16, 2010 at 9:23 PM, René Scharfe wrote: > > Also, 27KB is an odd number.  I take it that 28KB won't fix the issue > for you? I guess the beginning of the written buffer is not page aligned, and the system locks pages. Thus depending on the buffer alignment, the written maximum can vary up to the size of one page. > > I wonder about the cause of this threshold.  Wild guess: network driver > bug or other network issue? Memory pressure? Git may consume large amount of virtual memory during some operations, but I am not sure how it is translated in the number of physical memory consumed by the process as well as what quotas could be on that system. It would be interesting to see what GetProcessMemoryInfo() returns when write() fails. Dmitry