[cvsnt] Out of memory
Tony Hoyle
tony.hoyle at march-hare.com
Thu Oct 6 00:55:18 BST 2005
Bo Berglund wrote:
> If you have files in the list of changed files that are binary, and
> these files also are rather big and you have committed a lot of revisions
> already, then the "RCS" file on the server that corresponds to this
> project file will have grown to very large size.
> CVS must read the entire contents of the RCS file init memory when
> it processes the commit so the server must have this amount of RAM
> available - in fact I think I remember reading somewhere thet CVSNT
> needs 2 times the size of the RCS file as free RAM.
>
It's not quite that inefficient, but it needs around 2* the size of the
largest version of the file, unless you're checking out HEAD.
Binary diff needs 3* at the moment, due to the way it works (it needs
both full copies in memory to work out the diff, which may grow
potentially to the original size).
Tony
More information about the cvsnt
mailing list