bug-cvs
[Top][All Lists]
Advanced

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

Re: Server virtual memory exhausted


From: Larry Jones
Subject: Re: Server virtual memory exhausted
Date: Mon, 27 Dec 2010 00:52:56 -0500

Yaron Yogev writes:
> 
> We have a very large repository, and one of the developers reported he
> got the "Could not map memory to RCS archive" error towards the end of
> a checkout of a module including most of this repository.

You might want to upgrade to the current development release of CVS
1.12: it falls back to normal file I/O when mmap fails instead of
erroring out.

> I than ran CVS with valgrind, and it produced the following output for
> checkout of a ~15 MB big CVS tree with 1539 files:
[...]
> The one problem that stands out here is the last one: >5MB allocated,
> still reachable, but in a place that seems to make no sense. It is in
> main(), in the allocation of program_path.

Indeed, that makes no sense at all.  However, the line numbers in your
valgrind output don't match up with the line numbers in the official CVS
1.12.13 source, so either valgrind is reporting them incorrectly or you
are running some version of CVS other than 1.12.13 (or a modified
version of 1.12.13).  Without knowing exactly what version you're
running, it's hard to say anything about what's going on.
-- 
Larry Jones

Start tying the sheets together.  We'll go out the window. -- Calvin



reply via email to

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