[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: memory exhausted
From: |
Larry Jones |
Subject: |
Re: memory exhausted |
Date: |
Sat, 15 Nov 2008 14:53:26 -0500 |
Paul Sander writes:
>
> I found the mmap in CVS 1.11.23, and would not be at all surprised to
> find it also in the unstable release that Alex is using. I'm certain
> it's been in CVS since CVS absorbed RCS.
No, CVS originally read the file into memory using normal I/O. It was
changed to use mmap instead, where available, in 1.11.2. Then in
1.11.23 it was enhanced to fall back to normal I/O if mmap fails. The
fallback code is also checked in to the 1.12 branch, but there hasn't
been a release that includes it yet.
--
Larry Jones
You don't get to be Mom if you can't fix everything just right. -- Calvin