]> arthur.barton.de Git - bup.git/commit
cmd/bloom: map only one .idx file at a time.
authorAvery Pennarun <apenwarr@gmail.com>
Tue, 8 Feb 2011 01:41:00 +0000 (17:41 -0800)
committerAvery Pennarun <apenwarr@gmail.com>
Tue, 8 Feb 2011 01:50:18 +0000 (17:50 -0800)
commit8cd1f6daf982365858702a0fb5f2c74bcba31d2c
tree22499c2a28b3ee34b5045fcfdf617c33c28026ab
parent61858bf9ac4e0946f55904698a9e922f8fd691cf
cmd/bloom: map only one .idx file at a time.

This massively decreases virtual memory allocation since we only ever need
to look at a single idx at once.

In theory, VM doesn't cost us anything, but on 32-bit systems we can
actually run out of address space if we try to map all the idx files at
once on a very large repo.

Signed-off-by: Avery Pennarun <apenwarr@gmail.com>
cmd/bloom-cmd.py