[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Large files vs. memory allocation

From: Larry Jones
Subject: Re: Large files vs. memory allocation
Date: Fri, 26 Oct 2001 13:57:27 -0400 (EDT)

address@hidden writes:
>      Now here is only one problem - CVS client before sending file/files to
> CVS server loads it/them into memory.  This is dangerous especially for
> large files. On workstation it causes state of low virtual memory up to
> force OS to permanently frozen state.

It doesn't just load the final file into memory, it loads the entire RCS
file into memory!  You need to make sure that your server machine has
lots of virtual memory.  As you know, CVS wasn't designed to handle
binary files.

>      I suppose that this loading into memory is needed by zlib compression
> library used by CVS.  But if I decide not to use any compression is there
> any way to change this behavior? Maybe some changes in source code? I did
> an inspection of cvs source code, but it is too big and too mixed for me to
> do that.

Not without significant rewriting.

-Larry Jones

I think your train of thought is a runaway. -- Calvin's Mom

reply via email to

[Prev in Thread] Current Thread [Next in Thread]