[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn cat works only with files < 50 KB with svn 1.1.3/win2000

From: Ph. Marek <philipp.marek_at_bmlv.gv.at>
Date: 2005-03-02 08:38:35 CET

On Tuesday 01 March 2005 16:59, Mark Parker wrote:
> Branko Čibej wrote:
> > ISTR Windows has a 64k limit on (redirected?) output size in the command
> > line. I can't find the relevant reference, though. I thought we had an
> > issue open about this, but can't find that, either...
> >
> > -- Brane
>
> No, I'm REALLY sure it doesn't. See the following:
>
>...
>
> This is on Windows XP SP2. The "cat" from SFU also has no trouble with
> redirecting arbitrarily large output. This must be some oddity in the
> way svn is handling things.
>
> Note that this error isn't referring to main memory, or virtual memory,
> but probably to the Non Paged Pool, though it seems it can also be seen
> when the registry fills up.
Sorry, I don't know about SP2, but the problem is *not* the "cat" or "type"
command, but if you do a WriteFile() to a pipe with more than 64k data it
won't work.
See here:
 http://msdn.microsoft.com/library/en-us/fileio/base/writefile.asp
 "Named pipe write operations across a network are limited to 65,535 bytes."
But IIRC the problem is not only over the network and can happen to _any_
pipe.

Regards,

Phil

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 2 08:40:55 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.