problem cloning large file (32MB) on Windows/Network Shares

Matt Mackall mpm at selenic.com
Thu Jan 13 20:31:19 CST 2011


On Thu, 2011-01-13 at 17:26 -0500, rollin wrote:
> > Does kb/899149 apply to the CreateFile API too? (from Adrian)
> 
> There are several web sites stating the following:
> ERROR_NO_SYSTEM_RESOURCES(1450) when using data buffers larger than
> 32MB or 64MB.

Again, this "unbuffered" is an obscure feature completely unrelated to
things a typical app will ever want to do. In particular, it's -not- the
kind of buffering that's talked about in stdio's setbuffer() or any of
the usual things called "buffering". Instead, it's a way for hardware to
copy directly to/from an application's memory without going through the
kernel. Every other operating system calls this "direct I/O".

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial mailing list