Added max alloc size to arm.

pull/34/head
Adam Polanski 2015-02-28 11:12:16 -05:00
parent fba9b58d1e
commit 0e91fffcbe
1 changed files with 3 additions and 0 deletions

View File

@ -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