bug-cvs
[Top][All Lists]
Advanced

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

Re: cvs bug


From: Torbjörn Axelsson
Subject: Re: cvs bug
Date: 11 Jun 2001 12:24:16 +0200
User-agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.4

kishor kandrup <kishor_kandrup@usa.net> writes:

>    Hi mailing list ppl,
> 
>    I have a query about cvs,i'll appreciate reply from you.
> 
>    I am facing problem as described below :
> 
>    1.)I succeded in adding file of 300 plus MB on CVS server (binary mode).
>    2.)I checked it out ,made some changes and commited(331587857 bytes) ,it
> was
>    stored on CVS server .
>    3.)Again, i checked it out and changed the size to 331587903 bytes.The
> server
>    gave the following error.The space available is in GigaBytes.
>    ----------------------------------------------------------------------
>    cvs[server aborted]:out of memory;can not reallocate 331587862 bytes
> 
>    Checking in bigfile8;
>    /home/cvs/tr1/bigfile8,v <-- bigfile8
> 
>    The command encountered an error.
>    -----------------------------------------------------------------------

This would be a known limitation described in "2.9 Server
requirements": (http://cvshome.org/docs/manual/cvs_2.html#SEC27),
admittedly hard to find.

The reason (that applies also for local access) is that CVS keeps the
whole file in memory:

"The second area of large memory consumption is diff, when checking in
large files. This is required even for binary files. The rule of thumb
is to allow about ten times the size of the largest file you will want
to check in, although five times may be adequate."

So what happened is simply that you ran out of memory; either increase
your swap partition or (preferably) keep huge binaries out of the
revision control system as these tend to be derived files anyway.

rgds/Torbjörn



reply via email to

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