mirror of https://github.com/etcd-io/bbolt.git
Merge pull request #317 from benbjohnson/32bit-max-alloc
Update max alloc size on 386 archpull/34/head
commit
fba9b58d1e
|
@ -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…
Reference in New Issue