Merge pull request #319 from skirmish/bolt-arm-fix

Added max alloc size to arm.
pull/34/head
Ben Johnson 2015-03-01 06:46:19 -07:00
commit 4bed58d78d
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