Map size integer range
artemklevtsov opened this issue · comments
Artem Klevtsov commented
Hi,
How much map size can be used?
> db <- mdb_env(path = file.path(dbdir), mapsize = 10240000000)
Error in if (ret != x) { : missing value where TRUE/FALSE needed
In addition: Warning message:
In as_integer(mapsize) : NAs introduced by coercion to integer range
Execution halted
Artem Klevtsov commented
I think mapsize
should be be uint64 range on the 64-bit systems.
Rich FitzJohn commented
Thanks, I agree.
Please try 3816db9 (on the develop branch) which fixes this
Artem Klevtsov commented
Now it works on develop
branch. Thank you.
Rich FitzJohn commented
Thanks - merged into master now