Re: large files and low memory
From: Ævar Arnfjörð Bjarmason <hidden>
Date: 2016-06-15 22:49:42
On Tue, Oct 5, 2010 at 00:57, Enrico Weigelt [off-list ref] wrote:
* Jonathan Nieder [off-list ref] wrote:quoted
Shawn Pearce wrote:quoted
The mmap() isn't the problem. Its the allocation of a buffer that is larger than the file in order to hold the result of deflating the file before it gets written to disk.Wasn't this already fixed, at least in some cases? commit 9892bebafe0865d8f4f3f18d60a1cfa2d1447cd7 (tags/v1.7.0.2~11^2~1) Author: Nicolas Pitre [off-list ref] Date: Sat Feb 20 23:27:31 2010 -0500I guess I'll have to do a update. But: latest tag (1.7.3.1) doesnt build: CC read-cache.o read-cache.c: In function `fill_stat_cache_info': read-cache.c:73: structure has no member named `st_ctim' read-cache.c:74: structure has no member named `st_mtim' read-cache.c: In function `read_index_from': read-cache.c:1334: structure has no member named `st_mtim' read-cache.c: In function `write_index': read-cache.c:1614: structure has no member named `st_mtim' make: *** [read-cache.o] Fehler 1 Is my libc too old ?
Those lines are accessing members called st_ctime, i.e. with an "e" at the end, but your errors just report "st_ctim". What gives?