diff options
Diffstat (limited to 'bolt_amd64.go')
-rw-r--r-- | bolt_amd64.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bolt_amd64.go b/bolt_amd64.go index 4262932..cca6b7e 100644 --- a/bolt_amd64.go +++ b/bolt_amd64.go @@ -2,3 +2,6 @@ package bolt // maxMapSize represents the largest mmap size supported by Bolt. const maxMapSize = 0xFFFFFFFFFFFF // 256TB + +// maxAllocSize is the size used when creating array pointers. +const maxAllocSize = 0x7FFFFFFF |