aboutsummaryrefslogtreecommitdiff
path: root/bolt_arm.go
diff options
context:
space:
mode:
Diffstat (limited to 'bolt_arm.go')
-rw-r--r--bolt_arm.go3
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