Skip to content

Commit fa14fa7

Browse files
author
MarcoFalke
committed
Merge leveldb subtree
Merge commit 'ec749b1bcdf2483b642fb51d635800e272c68ba6' into HEAD
2 parents 8ac7125 + ec749b1 commit fa14fa7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/leveldb/util/env_posix.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -585,8 +585,8 @@ static int MaxMmaps() {
585585
if (mmap_limit >= 0) {
586586
return mmap_limit;
587587
}
588-
// Up to 1000 mmaps for 64-bit binaries; none for smaller pointer sizes.
589-
mmap_limit = sizeof(void*) >= 8 ? 1000 : 0;
588+
// Up to 4096 mmaps for 64-bit binaries; none for smaller pointer sizes.
589+
mmap_limit = sizeof(void*) >= 8 ? 4096 : 0;
590590
return mmap_limit;
591591
}
592592

0 commit comments

Comments
 (0)