mirror of https://github.com/hak5/bolt.git
Increase max array size to 2GB.
This commit changes the maxAllocSize from 256GB to 2GB to handle large values. It was previously 0xFFFFFFF and I tried adding one more "F" but it caused an "array too large" error. I played around with the value some more and found that 0x7FFFFFFF (2GB) is the highest allowed value. This does not affect how the data is stored. It is simply used for type converting pointers to array pointers in order to utilize zero copy from the mmap.master
parent
a7d19d8cd5
commit
b9c28b721a
Loading…
Reference in New Issue