diff options
author | Adam Polanski <apolanski@gmail.com> | 2015-02-28 11:12:16 -0500 |
---|---|---|
committer | Adam Polanski <apolanski@gmail.com> | 2015-02-28 11:12:16 -0500 |
commit | 0e91fffcbefe2f39a401292cf365fa5ae97096be (patch) | |
tree | 514fb50a3f252c9d6d3c506cb8630eb78066a0ef | |
parent | Merge pull request #317 from benbjohnson/32bit-max-alloc (diff) | |
download | dedo-0e91fffcbefe2f39a401292cf365fa5ae97096be.tar.gz dedo-0e91fffcbefe2f39a401292cf365fa5ae97096be.tar.xz |
Added max alloc size to arm.
-rw-r--r-- | bolt_arm.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bolt_arm.go b/bolt_arm.go index cc21894..e659bfb 100644 --- a/bolt_arm.go +++ b/bolt_arm.go @@ -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 |