diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-08-09 11:36:11 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-08-09 11:31:45 -0400 |
commit | fa14fa742d3347c5b627f3375770536c648192fe (patch) | |
tree | 7f2e72371c846824c80110da842f506f546e7ea8 /src/leveldb | |
parent | 8ac7125d59ce874d2bc37f5a8dddcc42fc2b5780 (diff) | |
parent | ec749b1bcdf2483b642fb51d635800e272c68ba6 (diff) |
Merge leveldb subtree
Merge commit 'ec749b1bcdf2483b642fb51d635800e272c68ba6' into HEAD
Diffstat (limited to 'src/leveldb')
-rw-r--r-- | src/leveldb/util/env_posix.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leveldb/util/env_posix.cc b/src/leveldb/util/env_posix.cc index 4676bc2240..f77918313e 100644 --- a/src/leveldb/util/env_posix.cc +++ b/src/leveldb/util/env_posix.cc @@ -585,8 +585,8 @@ static int MaxMmaps() { if (mmap_limit >= 0) { return mmap_limit; } - // Up to 1000 mmaps for 64-bit binaries; none for smaller pointer sizes. - mmap_limit = sizeof(void*) >= 8 ? 1000 : 0; + // Up to 4096 mmaps for 64-bit binaries; none for smaller pointer sizes. + mmap_limit = sizeof(void*) >= 8 ? 4096 : 0; return mmap_limit; } |