Merge leveldb subtree
Merge commit '55f90917f519aa124455bd81ab81ff67a1c7fc84' into update-leveldb
This commit is contained in:
commit
cd819bf14b
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue