mirror of https://github.com/etcd-io/bbolt.git
Added max alloc size to arm.
parent
fba9b58d1e
commit
0e91fffcbe
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue