mirror of
https://github.com/etcd-io/bbolt.git
synced 2025-07-12 15:19:19 +00:00
Update max alloc size on 386 arch.
This commit is contained in:
parent
1d9315e35b
commit
349dacfd44
@ -2,3 +2,6 @@ package bolt
|
||||
|
||||
// maxMapSize represents the largest mmap size supported by Bolt.
|
||||
const maxMapSize = 0x7FFFFFFF // 2GB
|
||||
|
||||
// maxAllocSize is the size used when creating array pointers.
|
||||
const maxAllocSize = 0xFFFFFFF
|
||||
|
@ -2,3 +2,6 @@ package bolt
|
||||
|
||||
// maxMapSize represents the largest mmap size supported by Bolt.
|
||||
const maxMapSize = 0xFFFFFFFFFFFF // 256TB
|
||||
|
||||
// maxAllocSize is the size used when creating array pointers.
|
||||
const maxAllocSize = 0x7FFFFFFF
|
||||
|
Loading…
x
Reference in New Issue
Block a user