Laurent Duperval writes:
> 
> I am not sure why the CVS process on the server would refuse to feed the
> file if it got close to or over 1GB. Maybe it tries to allocate memory
> to store the entire file in memory, and then make a copy? I don't know.

If your system supports mmap() (and yours does), CVS tries to map the
RCS file into memory so that it can access it directly rather than
having to use normal I/O to read it in bits and pieces, because using
mmap() is much more efficient.  In your case, the mmap() call is failing
with ENOMEM -- you may want to check the mmap() man page or ask for
advice in an OS-specific group about possible causes and solutions.  I'm
working on a patch to allow CVS to fall back on normal I/O if mmap()
fails, but there are some tricky bits and it will likely take a little
while to complete.

-Larry Jones

Oh, now YOU'RE going to start in on me TOO, huh? -- Calvin


_______________________________________________
info-cvs mailing list
info-cvs@nongnu.org
http://lists.nongnu.org/mailman/listinfo/info-cvs

Reply via email to