Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

cvs - file size limit

206 views
Skip to first unread message

agne...@gmail.com

unread,
Apr 18, 2008, 4:02:07 AM4/18/08
to
Hi all,

I am trying to checkin a binary file to cvs. I am able to
add the same file but if i try to do a cvs commit i get this message
"cvs [commit aborted]: out of memory; can not reallocate 28128790
bytes" .
When i again tried to do cvs commit i got
"cvs: hash.c:312: findnode:Assertion `key != ((void *)0)'
failed.cvs [commit aborted]: received abort signal".
Is there a file size limit to checkin. If yes, what is the
maximim file size i can checkin?
Does the file size limit also depends on the type of file u r
checking in ex: if binary file then maximum size limit:say x , if
ordinary file : say y etc.
Please do help me by replying as soon as possible.


Thanks in advance

Todd Denniston

unread,
Apr 18, 2008, 1:26:54 PM4/18/08
to agne...@gmail.com, info...@nongnu.org
agne...@gmail.com wrote, On 04/18/2008 04:02 AM:
> Hi all,
>
> I am trying to checkin a binary file to cvs. I am able to
> add the same file but if i try to do a cvs commit i get this message

Add only has to place a marker (in the local sandbox).
commit actually has to process the file, on the server.

> "cvs [commit aborted]: out of memory; can not reallocate 28128790
> bytes" .

scale=1
28128790 / (1024*1024)
26.8 MB.
Ouch, you have a very small machine??

> When i again tried to do cvs commit i got
> "cvs: hash.c:312: findnode:Assertion `key != ((void *)0)'
> failed.cvs [commit aborted]: received abort signal".
> Is there a file size limit to checkin. If yes, what is the
> maximim file size i can checkin?
> Does the file size limit also depends on the type of file u r
> checking in ex: if binary file then maximum size limit:say x , if
> ordinary file : say y etc.
> Please do help me by replying as soon as possible.
>
>
> Thanks in advance
>

If you need to return to the list, a few useful values would be:
How much real ram on the server.
How much virtual memory available to the server.
How much "memory" is used on the server when cvs is not running.
How much free space in /tmp (of the server)
How much free disk space in the repository directory (i.e., $CVSROOT)
How big is the file you are dealing with.
How big is the file in the repository (if it ever made it there in the past).
Are you sure there is not a file in the Attic directory with the same name,
which is already huge?

Also the following search, leads I think towards answers that may help:
http://lists.gnu.org/archive/cgi-bin/namazu.cgi?query=memory+larry+commit+aborted&submit=Search%21&idxname=info-cvs&max=10&result=normal&sort=score
BTW Larry Jones knows the guts of CVS, so trust his replies.


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter


Arthur Barrett

unread,
Apr 20, 2008, 6:04:38 AM4/20/08
to agne...@gmail.com, info...@nongnu.org

>> "cvs [commit aborted]: out of memory; can not reallocate 28128790
>> bytes" .
.
.
.

> If you need to return to the list, a few useful values would be:
> How much real ram on the server.
> How much virtual memory available to the server.
> How much "memory" is used on the server when cvs is not running.
> How much free space in /tmp (of the server)
> How much free disk space in the repository directory (i.e., $CVSROOT)
> How big is the file you are dealing with.
> How big is the file in the repository (if it ever made it
> there in the past).

Also the version of CVS.

Note: if you are using CVSNT (where this problem comes up often) you
need to contact the CVSNT newsgroup, see cvsnt.org/wiki

Regards,


Arthur


0 new messages